Skip to content

Commit

Permalink
Clarify help text for --all and --status flags in esi lease list and …
Browse files Browse the repository at this point in the history
…offer list commands
  • Loading branch information
Surbhi Kanthed authored and skanthed committed Jun 24, 2024
1 parent 6b3fadd commit 86b125b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion esileapclient/osc/v1/lease.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ def get_parser(self, prog_name):
'--status',
dest='status',
required=False,
help="Show all leases with given status.")
help="Show all leases with given status. "
"Use --status 'any' to show leases with any status "
"(by default only leases with 'active' status are shown).")
parser.add_argument(
'--offer-uuid',
dest='offer_uuid',
Expand Down
4 changes: 3 additions & 1 deletion esileapclient/osc/v1/offer.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ def get_parser(self, prog_name):
'--status',
dest='status',
required=False,
help="Show all offers with given status.")
help="Show all offers with given status. "
"Use --status 'any' to show offers with any status "
"(by default only offers with 'available' status are shown).")
parser.add_argument(
'--time-range',
dest='time_range',
Expand Down

0 comments on commit 86b125b

Please sign in to comment.