[Rpm-maint] [rpm-software-management/rpm] command line help: option -q is not mentioned (#1473)
Michal Domonkos
notifications at github.com
Thu Feb 25 09:35:17 UTC 2021
Thanks, Mirku, for looking into this! I like the simplicity of your solution, here's how it would look like:
```
Usage: rpm [-afgplsiv?] [-a|--all] [-f|--file] [-g|--group] [-p|--package] [--pkgid] [--hdrid] [--triggeredby] [--whatconflicts] [--whatrequires] [--whatobsoletes] [--whatprovides]
[--whatrecommends] [--whatsuggests] [--whatsupplements] [--whatenhances] [--nomanifest] [-c|--configfiles] [-d|--docfiles] [-L|--licensefiles] [-A|--artifactfiles]
[...]
[-q|--query] [-v|--verify]
```
That said, I can see two drawbacks:
1) It defeats the purpose of `poptPrintUsage()`
2) Printing the options at the end of the output doesn't help the reading experience
So I'm not sure how I feel about this overall. Tagging @pmatilai to the rescue! :smile:
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1473#issuecomment-785756704
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210225/57c64df2/attachment.html>
More information about the Rpm-maint
mailing list