DockerCLI/docs/generate
Sebastiaan van Stijn 88f44ec159
cli: SetupRootCommand: remove redundant flags return
The flag-set that was returned is a pointer to the command's Flags(), which
is in itself passed by reference (as it is modified / set up).

This patch removes the flags return, to prevent assuming it's different than
the command's flags.

While SetupRootCommand is exported, a search showed that it's only used internally,
so changing the signature should not be a problem.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-06-28 16:26:50 +02:00
..
generate.go cli: SetupRootCommand: remove redundant flags return 2023-06-28 16:26:50 +02:00
go.mod docs: move doc generation scripts to subdir 2023-01-31 06:33:23 +01:00
tools.go docs: move doc generation scripts to subdir 2023-01-31 06:33:23 +01:00