Skip to content

Commit

Permalink
Merge pull request #58 from skanthed/clarify-help-text
Browse files Browse the repository at this point in the history
Clarify help text for --all and --status flags in esi lease list and offer list
  • Loading branch information
tzumainn authored Jun 24, 2024
2 parents 6b3fadd + a673800 commit 005dd5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion esileapclient/osc/v1/lease.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ def get_parser(self, prog_name):
'--status',
dest='status',
required=False,
help="Show all leases with given status.")
help="Show all leases with the given status. "
"Use --status 'any' to show leases with any status "
"(by default, leases with 'created', 'active', 'error', "
"'wait_cancel', 'wait_expire', and 'wait_fulfill' statuses "
"are shown).")
parser.add_argument(
'--offer-uuid',
dest='offer_uuid',
Expand Down
5 changes: 4 additions & 1 deletion esileapclient/osc/v1/offer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ def get_parser(self, prog_name):
'--status',
dest='status',
required=False,
help="Show all offers with given status.")
help="Show all offers with the given status. "
"Use --status 'any' to show offers with any status "
"(by default, offers with 'available' and 'error' statuses"
"are shown).")
parser.add_argument(
'--time-range',
dest='time_range',
Expand Down

0 comments on commit 005dd5f

Please sign in to comment.