You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI shows the following help, but it does not match up with this usage text:
usage: sl cci dns sync <identifier> [options]
DNS related actions for a CCI
Options:
-a, -A Sync only the A record
--ptr, --PTR Sync only the PTR record
Prompt Options:
-y, --really Confirm all prompt actions
Standard Options:
--format=ARG Output format. [Options: table, raw] [Default: table]
-C FILE --config=FILE Config file location. [Default: ~/.softlayer]
--debug=LEVEL Specifies the debug noise level
1=warn, 2=info, 3=debug
--timings Time each API call and display after results
-h --help Show this screen
Upon running with the shown usage format, I always receive an "Unknown argument(s)" error:
$ sl cci dns sync 2695793 -a --ptr -y
usage: sl cci dns sync <identifier> [options]
Unknown argument(s), use -h or --help for available options
If I omit -a and --ptr entirely, I receive the same.
Moving -y before the identifier seems to work:
$ sl cci dns sync -y 2695793
If I attempt to use the -a and/or --ptr flags before the identifier where -y works, even independently of one another, I receive another unknown arguments error:
$ sl cci dns sync -a -y 2695795
usage: sl cci dns sync <identifier> [options]
Unknown argument(s), use -h or --help for available options
The text was updated successfully, but these errors were encountered:
It looks like docopt doesn't like mixed cases of the exact same name. (-a/-A and --ptr/--PTR). It's also pretty useless to support both. I'm making a commit that removes the uppercase versions.
The CLI shows the following help, but it does not match up with this usage text:
Upon running with the shown usage format, I always receive an "Unknown argument(s)" error:
If I omit
-a
and--ptr
entirely, I receive the same.Moving
-y
before the identifier seems to work:If I attempt to use the
-a
and/or--ptr
flags before the identifier where-y
works, even independently of one another, I receive another unknown arguments error:The text was updated successfully, but these errors were encountered: