On Tue, Sep 03, 2019 at 07:24:30PM +0700, Bagas Sanjaya wrote: > > For executable programs that take arguments, please consider writing a > > manual page, rather than expecting users to pass --help or similar. Note > > that generating the man page from --help output (with a tool such as > > help2man) can range from unhelpful to problematic in cross-compiling > > scenarios. > > I have questions: why can generating man page with help2man be problematic > in cross-compiling? help2man runs the program which is obviously problematic when the program is compiled for a different arch.
> What if I didn't write man page but expecting users to pass --help > instead, or displaying usage syntax when my written program encounters > error? Then users will need additional actions to get help instead of just running "man program". -- WBR, wRAR
signature.asc
Description: PGP signature