1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: Add -o to manlifter
The manlifter man page refers to a -o option, but manlifter itself
doesn't recognize it. This patch adds the option.
Author: Jeff Licquia <licquia@debian.org>
Last-Update: 2018-05-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/manlifter
+++ b/manlifter
@@ -659,6 +659,8 @@
makepatch = True
elif (switch == '-M'): # Make a patch with specified page
patchlift = True
+ elif (switch == '-o'): # Specify output directory
+ outdir = val
elif (switch == '-p'): # Specify patch directory
patchdir = os.path.abspath(val)
elif (switch == '-P'):
@@ -744,6 +746,6 @@
sys.stderr.write("manlifter: can't find doclifter!\n")
sys.exit(1)
# Gather options
- (options, arguments) = getopt.getopt(sys.argv[1:], "d:ef:hI:mMp:Pqs:SvwX:")
+ (options, arguments) = getopt.getopt(sys.argv[1:], "d:ef:hI:mMop:Pqs:SvwX:")
doclifter_driver(options, arguments)
# End
|