Options: add generic usage option
This commit is contained in:
parent
cf2629b290
commit
20bb51145b
|
@ -60,6 +60,9 @@ def fpdb_options():
|
||||||
default = 'EMPTY')
|
default = 'EMPTY')
|
||||||
parser.add_option("-v", "--version", action = "store_true",
|
parser.add_option("-v", "--version", action = "store_true",
|
||||||
help = _("Print version information and exit."))
|
help = _("Print version information and exit."))
|
||||||
|
parser.add_option("-u", "--usage", action="store_true", dest="usage", default=False,
|
||||||
|
help=_("Print some useful one liners"))
|
||||||
|
|
||||||
|
|
||||||
(options, argv) = parser.parse_args()
|
(options, argv) = parser.parse_args()
|
||||||
return (options, argv)
|
return (options, argv)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user