Closed 0xdevalias closed 7 months ago
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
diffsitter --cmd dump_default_config
-h
--help
⇒ diffsitter --cmd dump_default_config error: unexpected argument '--cmd' found tip: to pass '--cmd' as a value, use '-- --cmd' Usage: diffsitter [OPTIONS] [OLD] [NEW] [COMMAND] For more information, try '--help'. ⇒ diffsitter -- --cmd dump_default_config Error: Unsupported file type with no fallback command specified. ⇒ diffsitter FAKE FAKE2 dump_default_config error: unrecognized subcommand 'dump_default_config' tip: a similar subcommand exists: 'dump-default-config' Usage: diffsitter [OPTIONS] [OLD] [NEW] [COMMAND] For more information, try '--help'. ⇒ diffsitter FAKE FAKE2 dump-default-config { // ..snip.. } ⇒ diffsitter dump-default-config { // ..snip.. }
Expected behavior The usage section of the docs should provide the correct command to use.
Log output/screenshots N/A
Platform: OS: N/A
Additional context I should read the help output closer before trying to bruteforce my way to a solution.
PR for docs fix:
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
diffsitter --cmd dump_default_config
-h
/--help
Expected behavior The usage section of the docs should provide the correct command to use.
Log output/screenshots N/A
Platform: OS: N/A
Additional context I should read the help output closer before trying to bruteforce my way to a solution.