Optional disable of 'OPTIONS' heading on: $no_libcaptive_options_heading
authorlace <>
Wed, 28 Dec 2005 09:00:02 +0000 (09:00 +0000)
committerlace <>
Wed, 28 Dec 2005 09:00:02 +0000 (09:00 +0000)
 - Used by the FUSE mount.captive(8) man page.

src/libcaptive/client/options.pod.pl.in

index f7d2f4f..3355c86 100644 (file)
@@ -32,11 +32,15 @@ $sbindir=~s#\$\Q{exec_prefix}\E#'@exec_prefix@';#ge;
 $sbindir=~s#\$\Q{prefix}\E#'@prefix@';#ge;
 $sbindir="/usr/sbin" if $sbindir=~/^@/;
 
-print <<'POD_EOF';
+our $no_libcaptive_options_heading;
+print <<'POD_EOF' if !$no_libcaptive_options_heading;
 =head1 OPTIONS
 
 All programs using B<@PACKAGE@>(7) library share the common set of configuration
 options:
+POD_EOF
+
+print <<'POD_EOF';
 
 =over