Skip to content

Instantly share code, notes, and snippets.

@cocap10
Created August 4, 2016 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cocap10/b8cb3e8f78d1661eefd0f48f46e38e65 to your computer and use it in GitHub Desktop.
Save cocap10/b8cb3e8f78d1661eefd0f48f46e38e65 to your computer and use it in GitHub Desktop.
$ ./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