From dc736cdfeecc4341f809c60e55568c9602f0fc7d Mon Sep 17 00:00:00 2001 From: Tiago Freitas Pereira <tiagofrepereira@gmail.com> Date: Fri, 22 Apr 2016 17:11:08 +0200 Subject: [PATCH] Solving issue #14 and added the argument --environment --- bob/bio/base/tools/command_line.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bob/bio/base/tools/command_line.py b/bob/bio/base/tools/command_line.py index 40e58832..e48fae28 100644 --- a/bob/bio/base/tools/command_line.py +++ b/bob/bio/base/tools/command_line.py @@ -140,7 +140,7 @@ def command_line_parser(description=__doc__, exclude_resources_from=[]): flag_group.add_argument('-r', '--parallel', type=int, help = 'This flag is a shortcut for running the commands on the local machine with the given amount of parallel threads; equivalent to --grid bob.bio.base.grid.Grid("local", number_of_parallel_threads=X) --run-local-scheduler --stop-on-failure.') - flag_group.add_argument('-s', '--environment', dest='env', nargs='*', default=[], help='Passes specific environment variables to the job.') + flag_group.add_argument('-t', '--environment', dest='env', nargs='*', default=[], help='Passes specific environment variables to the job.') return { 'main' : parser, -- GitLab