Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

Commit

Permalink
Update help message
Browse files Browse the repository at this point in the history
Update help text for add_sus and subtract_sus to be more specific
  • Loading branch information
chnixi authored Dec 20, 2023
1 parent 1c099bf commit 7715a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bank/cli/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,11 @@ def _add_cluster_args(parser: ArgumentParser) -> None:
"""

su_argument = dict(metavar='su', type=NonNegativeInt, default=0)
parser.add_argument('--all-clusters', **su_argument, help='service units awarded across all clusters')
parser.add_argument('--all-clusters', **su_argument, help='service units awarded/added/subtracted across all clusters, depending on invoked proposal operation')

Check notice on line 255 in bank/cli/parsers.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

bank/cli/parsers.py#L255

Line too long (168/120)

# Add per-cluster arguments for setting service units
for cluster in settings.clusters:
parser.add_argument(f'--{cluster}', **su_argument, help=f'service units awarded on the {cluster} cluster')
parser.add_argument(f'--{cluster}', **su_argument, help=f'service units awarded/added/subtracted on the {cluster} cluster, depending on invoked proposal operation')

Check notice on line 259 in bank/cli/parsers.py

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

bank/cli/parsers.py#L259

Line too long (176/120)


class InvestmentParser(BaseParser):
Expand Down

0 comments on commit 7715a83

Please sign in to comment.