Skip to content

Commit

Permalink
docs: harmonise REANA_WORKON name in help
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Rodriguez committed Nov 27, 2018
1 parent 0dac57a commit 94cab3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions reana_client/cli/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def files(ctx):
'--workflow',
default=os.environ.get('REANA_WORKON', None),
help='Name or UUID of the workflow whose files should be listed. '
'Overrides value of REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@click.option(
'--filter',
'_filter',
Expand Down Expand Up @@ -124,7 +124,7 @@ def get_files(ctx, workflow, _filter,
'--workflow',
default=os.environ.get('REANA_WORKON', None),
help='Name or UUID of that workflow where files should downloaded from. '
'Overrides value of REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@click.option(
'-o',
'--output-directory',
Expand Down Expand Up @@ -210,7 +210,7 @@ def download_files(ctx, workflow, filenames, output_directory, access_token):
'--workflow',
default=os.environ.get('REANA_WORKON', None),
help='Name or UUID of the workflow you are uploading files for. '
'Overrides value of $REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@add_access_token_options
@click.pass_context
@with_api_client
Expand Down Expand Up @@ -310,7 +310,7 @@ def upload_files(ctx, workflow, filenames, access_token):
'--workflow',
default=os.environ.get('REANA_WORKON', None),
help='Name or UUID of the workflow you are deleting files for. '
'Overrides value of $REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@add_access_token_options
@click.pass_context
@with_api_client
Expand Down
10 changes: 5 additions & 5 deletions reana_client/cli/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def workflow_create(ctx, file, name, skip_validation, access_token):
default=os.environ.get('REANA_WORKON', None),
callback=workflow_uuid_or_name,
help='Name or UUID of the workflow to be started. '
'Overrides value of REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@add_access_token_options
@click.option(
'-p', '--parameter', 'parameters',
Expand Down Expand Up @@ -314,7 +314,7 @@ def workflow_start(ctx, workflow, access_token,
default=os.environ.get('REANA_WORKON', None),
callback=workflow_uuid_or_name,
help='Name or UUID of the workflow whose status should be resolved. '
'Overrides value of REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@click.option(
'--filter',
'_filter',
Expand Down Expand Up @@ -451,7 +451,7 @@ def add_verbose_data_from_response(response, verbose_headers,
default=os.environ.get('REANA_WORKON', None),
callback=workflow_uuid_or_name,
help='Name or UUID of the workflow whose logs should be fetched. '
'Overrides value of REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@add_access_token_options
@click.pass_context
@with_api_client
Expand Down Expand Up @@ -528,7 +528,7 @@ def workflow_validate(ctx, file):
default=os.environ.get('REANA_WORKON', None),
callback=workflow_uuid_or_name,
help='Name and run number to be stopped. '
'Overrides value of REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@add_access_token_options
@click.pass_context
@with_api_client
Expand Down Expand Up @@ -660,7 +660,7 @@ def workflow_run(ctx, file, filenames, name, skip_validation,
default=os.environ.get('REANA_WORKON', None),
callback=workflow_uuid_or_name,
help='Name and run number to be deleted. '
'Overrides value of REANA_WORKON.')
'Overrides value of REANA_WORKON environment variable.')
@add_access_token_options
@click.pass_context
@with_api_client
Expand Down

0 comments on commit 94cab3c

Please sign in to comment.