Improve flag help consistency, and update docs
This adds the `--live-restore` option to the documentation. Also synched usage description in the documentation with the actual description, and re-phrased some flag descriptions to be a bit more consistent. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: 64a8317a5a306dffd0ec080d9ec5b4ceb2479a01 Component: engine
This commit is contained in:
@ -31,7 +31,7 @@ func main() {
|
||||
flag.Merge(flag.CommandLine, daemonCli.commonFlags.FlagSet)
|
||||
|
||||
flag.Usage = func() {
|
||||
fmt.Fprint(stdout, "Usage: dockerd [ --help | -v | --version ]\n\n")
|
||||
fmt.Fprint(stdout, "Usage: dockerd [OPTIONS]\n\n")
|
||||
fmt.Fprint(stdout, "A self-sufficient runtime for containers.\n\nOptions:\n")
|
||||
|
||||
flag.CommandLine.SetOutput(stdout)
|
||||
|
||||
Reference in New Issue
Block a user