From d08e83f2738bbc35bc2b89c80789fbab5650af00 Mon Sep 17 00:00:00 2001 From: Erik Hahn Date: Thu, 30 Jul 2009 22:35:50 +0200 Subject: [PATCH] Add metavar for targetpath --- ordnung.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ordnung.py b/ordnung.py index dad915c..aa9d3e4 100644 --- a/ordnung.py +++ b/ordnung.py @@ -34,8 +34,8 @@ def main(): # Handle arguments parser = OptionParser() parser.add_option("-r", "--recursive", action="store_true", + parser.add_option("-t", "--target", dest="targetpath", metavar="TARGET", dest="recursive", default=False) - parser.add_option("-t", "--target", dest="targetpath", help="create new directory structure in directory TARGET (default=directory)") #TODO: not implemented (options, args) = parser.parse_args() -- 2.11.4.GIT