]> git.draconx.ca Git - rarpd-dx.git/commit
Adjust usage message and add explicit help option.
authorNick Bowler <nbowler@draconx.ca>
Thu, 27 Jul 2023 04:00:41 +0000 (00:00 -0400)
committerNick Bowler <nbowler@draconx.ca>
Thu, 27 Jul 2023 04:00:41 +0000 (00:00 -0400)
commite47d657a9839025639a93fbf4b3d57f24508f284
tree0c72928a12f16b8d4cdff5aa4e5d0705d0aab1ec
parent7848d2e1002e486171bd4e6a1b8d84d64f389af4
Adjust usage message and add explicit help option.

Instead of dumping a huge splat on usage errors, output a brief message
instead with an option to request the full details.  Since we currently
only do short options, this option is -H (same as my own programs).

When requested by the user, program help text is not an error message
so it goes on standard output (that way it can be grepped and all that
good stuff).
src/rarpd.c