Skip to content

Commit

Permalink
Minor CLI docs tweaks for attr-{get,set}
Browse files Browse the repository at this point in the history
  • Loading branch information
lowell80 committed Oct 4, 2023
1 parent 11e0cca commit 9a46087
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ksconf/commands/attr.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ class AttrGetCmd(KsconfCmd):
def register_args(self, parser):
parser.add_argument("conf", nargs="+",
default=["-"],
help="Input file to sort, or standard input."
help="Input file or standard input."
).completer = conf_files_completer

parser.add_argument("--stanza", "-s", required=True,
help="Name of the conf file stanza to retrieve.")
help="Name of the stanza within CONF to retrieve.")
parser.add_argument("--attribute", "--attr", "-a",
metavar="ATTR", required=True,
help="Name of the conf file attribute to retrieve.")
help="Name of attribute within STANZA to retrieve.")

parser.add_argument("--missing-okay", action="store_true", default=False,
help="Ignore missing stanzas and attributes. ")
Expand Down Expand Up @@ -115,10 +115,10 @@ def register_args(self, parser):
help="Configuration file to update."
).completer = conf_files_completer
parser.add_argument("--stanza", "-s", required=True,
help="Name of the conf file stanza to set.")
help="Name of the stanza within CONF to set.")
parser.add_argument("--attribute", "--attr", "-a",
metavar="ATTR", required=True,
help="Name of the conf file attribute to set.")
help="Name of the attribute within STANZA to set.")

parser.add_argument("value",
help="Value to apply to the conf file. Note that this can be a raw "
Expand Down

0 comments on commit 9a46087

Please sign in to comment.