Skip to content

Commit

Permalink
Update error messagge
Browse files Browse the repository at this point in the history
  • Loading branch information
durae committed Oct 17, 2024
1 parent 1ee7312 commit 24df350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/dxpy/scripts/dx.py
Original file line number Diff line number Diff line change
Expand Up @@ -5422,7 +5422,7 @@ def positive_number(value):
allowed_executables_group.add_argument('--allowed-executables', help='Executable ID(s) this project is allowed to run. This operation overrides any existing list of executables.', type=str, nargs="+")
allowed_executables_group.add_argument('--unset-allowed-executables', help='Removes any restriction to run executables as set by --allowed-executables', action='store_true')
database_results_restricted_group = parser_update_project.add_mutually_exclusive_group()
database_results_restricted_group.add_argument('--database-results-restricted', help='Size of data from databases not to return to viewers of the project', type=positive_integer)
database_results_restricted_group.add_argument('--database-results-restricted', help='Viewers on the project can access only more than specified size of data from databases', type=positive_integer)
database_results_restricted_group.add_argument('--unset-database-results-restricted', help='Removes any restriction to return data from databases as set by --database-results-restricted', action='store_true')

parser_update_project.set_defaults(func=update_project)
Expand Down Expand Up @@ -5810,7 +5810,7 @@ def __call__(self, parser, namespace, values, option_string=None):
action='store_true')
parser_new_project.add_argument('--database-ui-view-only', help='Viewers on the project cannot access database data directly', default=False,
action='store_true')
parser_new_project.add_argument('--database-results-restricted', help='Size of data from databases not to return to viewers of the project', type=positive_integer)
parser_new_project.add_argument('--database-results-restricted', help='Viewers on the project can access only more than specified size of data from databases', type=positive_integer)
parser_new_project.add_argument('--monthly-compute-limit', type=positive_integer, help='Monthly project spending limit for compute')
parser_new_project.add_argument('--monthly-egress-bytes-limit', type=positive_integer, help='Monthly project spending limit for egress (in Bytes)')
parser_new_project.add_argument('--monthly-storage-limit', type=positive_number, help='Monthly project spending limit for storage')
Expand Down

0 comments on commit 24df350

Please sign in to comment.