Updated program description.

This commit is contained in:
Bastian Kleineidam 2013-03-28 19:42:02 +01:00
parent 376b049136
commit b53a094971
3 changed files with 34 additions and 35 deletions

View File

@ -13,7 +13,7 @@
.\" .\"
.TH PATOOL "1" "February 2013" "patool" .TH PATOOL "1" "February 2013" "patool"
.SH NAME .SH NAME
patool - portable archive file manager for the commandline console patool - portable archive file manager
.SH SYNOPSIS .SH SYNOPSIS
\fBpatool\fP [\fIglobal-options\fP] (\fBlist\fP|\fBtest\fP|\fBextract\fP|\fBcreate\fP|\fBdiff\fP|\fBsearch\fP|\fBrepack\fP|\fBformats\fP) [\fIcommand-options\fP] <\fIcommand-arguments\fP>... \fBpatool\fP [\fIglobal-options\fP] (\fBlist\fP|\fBtest\fP|\fBextract\fP|\fBcreate\fP|\fBdiff\fP|\fBsearch\fP|\fBrepack\fP|\fBformats\fP) [\fIcommand-options\fP] <\fIcommand-arguments\fP>...
.SH DESCRIPTION .SH DESCRIPTION

View File

@ -3,8 +3,7 @@ PATOOL(1) PATOOL(1)
NAME NAME
patool - portable archive file manager for the commandline con patool - portable archive file manager
sole
SYNOPSIS SYNOPSIS
patool [global-options] (list|test|extract|cre patool [global-options] (list|test|extract|cre

2
patool
View File

@ -136,7 +136,7 @@ EXAMPLES
def create_argparser(): def create_argparser():
"""Construct and return an argument parser.""" """Construct and return an argument parser."""
parser = ArgumentParser(description="A commandline archive handler.", parser = ArgumentParser(description="An archive file manager.",
epilog=Examples, formatter_class=argparse.RawDescriptionHelpFormatter) epilog=Examples, formatter_class=argparse.RawDescriptionHelpFormatter)
parser.add_argument('--verbose', '-v', action='count', default=0, dest='verbosity', help="verbose operation; can be given multiple times") parser.add_argument('--verbose', '-v', action='count', default=0, dest='verbosity', help="verbose operation; can be given multiple times")
subparsers = parser.add_subparsers(help='the archive command; type "patool COMMAND -h" for command-specific help', dest='command') subparsers = parser.add_subparsers(help='the archive command; type "patool COMMAND -h" for command-specific help', dest='command')