From a8e1280fe66c3ba4d267a053ff339f9061eeed1d Mon Sep 17 00:00:00 2001 From: Manuel Gunther <siebenkopf@googlemail.com> Date: Mon, 10 Oct 2016 10:33:14 -0600 Subject: [PATCH] Added list of registered --grid resources to help --- 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 925c4bcb..dc923b83 100644 --- a/bob/bio/base/tools/command_line.py +++ b/bob/bio/base/tools/command_line.py @@ -56,7 +56,7 @@ def command_line_parser(description=__doc__, exclude_resources_from=[]): config_group.add_argument('-a', '--algorithm', metavar = 'x', nargs = '+', help = 'Biometric recognition; registered algorithms are: %s' % utils.resource_keys('algorithm', exclude_resources_from)) config_group.add_argument('-g', '--grid', metavar = 'x', nargs = '+', - help = 'Configuration for the grid setup; if not specified, the commands are executed sequentially on the local machine.') + help = 'Configuration for the grid setup; if not specified, the commands are executed sequentially on the local machine; registered grid resources are %s.' % utils.resource_keys('grid', exclude_resources_from)) config_group.add_argument('-I', '--imports', metavar = 'LIB', nargs = '+', default = ['bob.bio.base'], help = 'If one of your configuration files is an actual command, please specify the lists of required libraries (imports) to execute this command') config_group.add_argument('-W', '--preferred-package', metavar = 'LIB', -- GitLab