Commit b58efbe4 authored by André Anjos's avatar André Anjos 💬
Browse files

Fix option

parent 3c69f990
......@@ -292,7 +292,7 @@ def main():
# subcommand 'delete'
delparser = cmdparser.add_parser('delete', aliases=['del', 'rm', 'remove'],
help='removes jobs from the database; if jobs are running or are still scheduled in SGE, the jobs are also removed from the SGE queue')
delparser.add_argument('jobid', metavar='ID', nargs='+', type=int,
delparser.add_argument('jobid', metavar='ID', nargs='*', type=int,
default=[], help='the SGE job identifiers as provided by the list command (first field)')
delparser.add_argument('-r', '--remove-logs', dest='also_logs', default=False, action='store_true', help='if set I\'ll also remove the logs if they exist')
delparser.set_defaults(func=delete)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment