Commit 9ae3c70b authored by Niall McDaid's avatar Niall McDaid
Browse files

Extra info to 'help' lines

parent cd2820ef
...@@ -71,7 +71,7 @@ class LasCommandLoader(CLICommandsLoader): ...@@ -71,7 +71,7 @@ class LasCommandLoader(CLICommandsLoader):
with ArgumentsContext(self, '') as arg_context: with ArgumentsContext(self, '') as arg_context:
arg_context.argument('config_path', type=str, options_list=('-c', '--config_path'), arg_context.argument('config_path', type=str, options_list=('-c', '--config_path'),
help='The path and filename of the configuration file.') help='The path and filename of the configuration file. Defaults to \'CONFIGPATH\' environment variable if not set.')
# 'fileload' # 'fileload'
with ArgumentsContext(self, 'fileload') as arg_context: with ArgumentsContext(self, 'fileload') as arg_context:
...@@ -153,7 +153,7 @@ class LasCommandLoader(CLICommandsLoader): ...@@ -153,7 +153,7 @@ class LasCommandLoader(CLICommandsLoader):
def _register_token_argument(self, arg_context): def _register_token_argument(self, arg_context):
arg_context.argument('token', type=str, options_list=('-t', '--token'), arg_context.argument('token', type=str, options_list=('-t', '--token'),
help='A valid bearer token used to authenticate with the OSDU instance.') help='A valid bearer token used to authenticate with the OSDU instance. Defaults to \'OSDUTOKEN\' environment variable if not set.')
def main(): def main():
......
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