#751 man_gen: generate correct usage for `srpm` in manpages
Closed by onosek. Opened by satmane.
satmane/rpkg master  into  master

Download 751.patch

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.

Signed-off-by: Satish Mane satmane@redhat.com

pretty please pagure-ci rebuild

Hello @satmane. Thanks for the valid report. Good catch. Your fix solves the issue.
I prefer fixing the root cause rather than adding an exception.
See #753

Got it, thanks for the update. My thought was to avoid breaking the code and instead handle it through man page generation, which is why I suggested that solution.

Yes, it was indeed a safe solution.
I am closing this PR now.

Pull-Request has been closed by onosek

Metadata