]> git.sthu.org Git - sitarba.git/commitdiff
update manpage
authorStefan Huber <shuber2@gmx.at>
Sun, 20 May 2012 15:20:16 +0000 (17:20 +0200)
committerStefan Huber <shuber2@gmx.at>
Sun, 20 May 2012 15:20:16 +0000 (17:20 +0200)
Makefile
shbackup.1
shbackup.docbook

index 2365971fdb9544bd2015da54613ac8d9183ad856..6db310f7d92666ac7e996695982cec98b012d7cc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,14 @@ CONFFILE = /etc/shbackup.conf
 
 ######################################################################
 
 
 ######################################################################
 
-all: 
+all: shbackup.1
 
 install: all
        install -m 0755 shbackup $(BINPATH)/shbackup
        install -m 0644 shbackup.conf $(CONFFILE)
        install -m 0644 shbackup.1 $(MANPATH)/man1/shbackup.1
 
 
 install: all
        install -m 0755 shbackup $(BINPATH)/shbackup
        install -m 0644 shbackup.conf $(CONFFILE)
        install -m 0644 shbackup.1 $(MANPATH)/man1/shbackup.1
 
+shbackup.1:
+       docbook2man.pl $<
+
+
index 4788fe342cb236276d618d23e7feac5a511c4eb0..28efa25f68c435eb5b3c5ca0b67ab174c1218deb 100644 (file)
@@ -56,5 +56,16 @@ week, day, hour, sporadic.
 \*(T<\fB\-m, \-\-mode MODE\fR\*(T>
 Instead of configured mode use MODE,
 which can be full, diff or incr.
 \*(T<\fB\-m, \-\-mode MODE\fR\*(T>
 Instead of configured mode use MODE,
 which can be full, diff or incr.
+.TP 
+\*(T<\fB\-v, \-\-verbose\fR\*(T>
+Be more verbose and interact with user.
+Equal to --verbosity info.
+.TP 
+\*(T<\fB\-\-verbosity LEVEL\fR\*(T>
+Set verbosity to LEVEL, which can be
+error, warning, info, debug.
+.TP 
+\*(T<\fB\-V, \-\-version\fR\*(T>
+Print version info.
 .SH AUTHOR
 Stefan HUBER
 .SH AUTHOR
 Stefan HUBER
index 73b2fe8322be3b0015e10ce1675489abe7d4eb57..b3bc0a010a90fc0a1574db2b4fcf5bc2e4d3c38b 100644 (file)
                        </listitem>
                </varlistentry>
 
                        </listitem>
                </varlistentry>
 
+               <varlistentry>
+                       <term><option>-v, --verbose</option></term>
+                       <listitem>
+                               <para>Be more verbose and interact with user.
+                                       Equal to --verbosity info.</para>
+                       </listitem>
+               </varlistentry>
+
+               <varlistentry>
+                       <term><option>--verbosity LEVEL</option></term>
+                       <listitem>
+                               <para>Set verbosity to LEVEL, which can be
+                                       error, warning, info, debug.</para>
+                       </listitem>
+               </varlistentry>
+
+               <varlistentry>
+                       <term><option>-V, --version</option></term>
+                       <listitem>
+                               <para>Print version info.</para>
+                       </listitem>
+               </varlistentry>
+
+
        </variablelist>
        </refsect1>
 
        </variablelist>
        </refsect1>