Bug 47315 - [PATCH] Add --version and a man page to bustle-pcap
Summary: [PATCH] Add --version and a man page to bustle-pcap
Alias: None
Product: Bustle
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Will Thompson
QA Contact:
Depends on:
Reported: 2012-03-14 11:51 UTC by Alex Merry
Modified: 2012-04-05 01:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.