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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint