Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ ./flaegdemo --help
flaegdemo is a golang program...(here the program description)
Usage: flaegdemo [--flag=flag_argument] [-f[flag_argument]] ... set flag_argument to flag(s)
or: flaegdemo [--flag[=true|false| ]] [-f[true|false| ]] ... set true/false to boolean flag(s)
Available Commands:
version Print version
Use "flaegdemo [command] --help" for more information about a command.
Flags:
--db Enable database (default "false")
--db.comax Number max of connections on database (default "100")
--db.connectionmax64 Number max of connections on database (default "6400000000000000000")
--db.ip Server ip address (default "192.168.0.1")
--db.watch Watch device (default "true")
-l, --loglevel Log level (default "INFO")
--owner Enable Owner description (default "true")
--owner.dob Owner date of birth (default "2016-08-03 17:03:00.665523393 +0200 CEST")
--owner.name Owner name (default "default owner")
--owner.rate Owner rate (default "0.5")
--timeout Timeout duration (default "1s")
-h, --help Print Help (this message) and exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment