Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show help on global parameters in subcommands #737

Open
nicorikken opened this issue Apr 27, 2023 · 0 comments
Open

Show help on global parameters in subcommands #737

nicorikken opened this issue Apr 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@nicorikken
Copy link
Member

When asking for --help on a subcommand like lint, the global parameters are not shown. Some of these parameters can be very relevant, like calling --include-submodules on lint.

reuse --help
usage: reuse [-h] [--debug] [--include-submodules] [--include-meson-subprojects] [--no-multiprocessing] [--root PATH] [--version] {annotate,addheader,download,init,lint,spdx,supported-licenses,supported-licences} ...
reuse lint --help
usage: reuse lint [-h] [-q]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant