Skip to content

Commit

Permalink
removed recursive operation (-r)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Nov 13, 2012
1 parent d1868e0 commit 4dd518e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions moa/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ def _commandify(f, name):
description="%s\n%s" % (shortDesc, longDesc),
formatter_class=MoaHelpFormatter)

cp.add_argument("-r", "--recursive", dest="recursive", action="store_true",
default="false", help="Run this job recursively")
#cp.add_argument("-r", "--recursive", dest="recursive", action="store_true",
# default="false", help="Run this job recursively")

cp.add_argument("-v", "--verbose", dest="verbose", action="store_true",
help="Show debugging output")
Expand Down Expand Up @@ -332,6 +332,7 @@ def private(f):
sysConf.commands[f.func_name]['private'] = True
return f


def forceable(f):
f.arg_parser.add_argument('-f', '--force', action='store_true',
default=False, help='Force this action')
Expand Down

0 comments on commit 4dd518e

Please sign in to comment.