Bug 47315 - [PATCH] Add --version and a man page to bustle-pcap
[PATCH] Add --version and a man page to bustle-pcap
Status: RESOLVED FIXED
Product: Bustle
Classification: Unclassified
Component: General
unspecified
Other All
: medium normal
Assigned To: Will Thompson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-14 11:51 UTC by Alex Merry
Modified: 2012-04-05 01:05 UTC (History)
0 users

See Also:


Attachments
Patch to add bustle-pcap.1 (3.02 KB, patch)
2012-03-14 11:51 UTC, Alex Merry
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Merry 2012-03-14 11:51:15 UTC
Created attachment 58441 [details] [review]
Patch to add bustle-pcap.1

help2man can very usefully generate man pages from --help and --version output, and having a man page is recommended or required by several distros.

To make packagers' lives easier, this patch generates and installs bustle-pcap.1 using help2man when available.  A --version argument is added to bustle-pcap to allow this.
Comment 1 Alex Merry 2012-03-14 16:23:25 UTC
bustle-pcap.1 really belongs in the source tarballs, but I'm not sure how you produce those.  I don't know whether it should go in the git repo or not, since it's a generated file.
Comment 2 Alex Merry 2012-03-14 16:34:27 UTC
You can also see this as the pcap-man-page branch at git://people.freedesktop.org/~amerry/bustle
Comment 3 Will Thompson 2012-04-05 01:05:34 UTC
Thanks! I've merged this, and have wired it up to the binary tarball target.

http://cgit.freedesktop.org/bustle/log/?id=22cd03a059ef21906b6a7e08dd051e4419970bc6