You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to this revision, -h and --help flags rendered complete help text.
This revision adjusts this slightly, now differentiating between usage
text ('-h') and longer help text ('--help'). The usage text offers a
short command summary, and the help text offers longer doc-style text.
With this, a few adjustments were made to the usage machinery and the
relevant execute options.
Usage/help text is now rendered to stdout by default. This makes it
easier to pass the output through a paging program like 'less' or
'more'.
The custom flag value types in the getopt package now feature short
constructor functions (e.g. getopt.Time, getopt.Map). Examples have been
updated.
The 'http' example has been updated with improved flag descriptions.
"Sets the `address:port` on which the server will accept requests. The address may be an IPv4 (e.g. 127.0.0.1) or IPv6 (e.g. [2001:db8::1]) address. The address may be empty, in which case the local system is implied (0.0.0.0). If the port is empty or '0' (e.g. ':0'), a port number is automatically chosen.")
0 commit comments