a little typo in the documentation how to run CLI with help option $ python3 oci_capacity_reporter_gui.py -help
Opened this issue · 1 comments
AlexBGoode commented
hello folks
just my observation that the proposed way to call for help (with single dash):
python3 oci_capacity_reporter_gui.py -help
does not work as expected and causes an error:
> python oci_capacity_reporter_gui.py -help
oci_capacity_reporter_gui.py: error: argument -h/--help: ignored explicit argument 'elp'
meanwhile the way how it usualy done in Linux (double -) is okay:
> python oci_capacity_reporter_gui.py --help
options:
-h, --help show this help message and exit
-c CONFIG_FILE OCI CLI Config file
-t CONFIG_PROFILE Config Profile inside the config file
-p PROXY Set Proxy (i.e. www-proxy-server.com:80)
-ip Use Instance Principals for Authentication
-is Use Config and Security Token
the affected doc page is the following:
https://github.com/oracle/oci-python-sdk/tree/master/examples/oci_capacity_reporter
adizohar commented
Thank you Alex
I will push an update to the documentation for --help.