master > master: code go - vereinfachte logging
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
||||
|
||||
func Version() {
|
||||
logging.SetForce(true)
|
||||
logging.LogPlain(setup.Version())
|
||||
logging.Plain(setup.Version())
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------- *
|
||||
@@ -26,11 +26,9 @@ func Version() {
|
||||
func Help() {
|
||||
logging.SetForce(true)
|
||||
cli.ParseCli([]string{}) // <- generiere leere Instanz für Parser, um voll Hilfsanleitug zu zeigen
|
||||
logging.LogPlain(
|
||||
"",
|
||||
setup.Logo(),
|
||||
// setup.Help(),
|
||||
cli.Parser.Usage(nil),
|
||||
"",
|
||||
)
|
||||
logging.Plain("")
|
||||
logging.Plain(setup.Logo())
|
||||
// logging.Plain(setup.Help())
|
||||
logging.Plain(cli.Parser.Usage(nil))
|
||||
logging.Plain("")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user