The srpm command’s manpage showed the short description ("Create a source rpm")
where the usage line should be. During manpage generation, detect this placeholder
usage and reset it to None so argparse renders the full autogenerated usage (with options).
This updates both the "COMMAND OVERVIEW" and "COMMAND REFERENCE" sections.
No runtime behavior change; only manpage generation is affected.
The
srpmcommand’s manpage showed the short description ("Create a source rpm")where the usage line should be. During manpage generation, detect this placeholder
usage and reset it to None so argparse renders the full autogenerated usage (with options).
This updates both the "COMMAND OVERVIEW" and "COMMAND REFERENCE" sections.
No runtime behavior change; only manpage generation is affected.
Signed-off-by: Satish Mane satmane@redhat.com