finch
finch copied to clipboard
`finch run -h` does not produce expected result
finch help run
tells me to run finch run -h
or finch run --help
for help. The former is not "help", but 'hostname' and will fail without an argumnet.
Can recreate. Seems that finch help command
returns the cobra generated help instead of passing it down to nerdctl.
$ finch help run
Run a command in a new container
Usage:
finch run [flags]
Flags:
-h, --help help for run
Global Flags:
--debug running under debug mode
$ finch run --help
Run a command in a new container. Optionally specify "ipfs://" or "ipns://" scheme to pull image from IPFS.
Usage: finch run [flags] IMAGE [COMMAND] [ARG...]
Flags:
--add-host strings Add a custom host-to-IP mapping (host:ip)
.....
See also 'finch --help' for the global flags such as '--namespace', '--snapshotter', and '--cgroup-manager'.
Running finch command --help
will always return the correct help call.
I would like to work on this. Can you please assign this to me?