Robert Schweikert
de85c365e4
OBS-URL: https://build.opensuse.org/request/show/872526 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=16
13 lines
1.1 KiB
Diff
13 lines
1.1 KiB
Diff
diff -Nru oci-cli-2.21.1.orig/src/oci_cli/cli_root.py oci-cli-2.21.1/src/oci_cli/cli_root.py
|
|
--- oci-cli-2.21.1.orig/src/oci_cli/cli_root.py 2021-02-09 20:32:49.000000000 +0100
|
|
+++ oci-cli-2.21.1/src/oci_cli/cli_root.py 2021-02-15 14:53:16.002718177 +0100
|
|
@@ -299,7 +299,7 @@
|
|
@click.option('--profile',
|
|
default=Sentinel(DEFAULT_PROFILE), show_default=False,
|
|
help='The profile in the config file to load. This profile will also be used to locate any default parameter values which have been specified in the OCI CLI-specific configuration file. [default: DEFAULT]')
|
|
-@click.option('--cli-rc-file', '--defaults-file',
|
|
+@click.option('--cli-rc-file', '--defaults-file', 'defaults_file',
|
|
default=cli_constants.CLI_RC_DEFAULT_LOCATION, show_default=True,
|
|
is_eager=True, callback=eager_load_cli_rc_file,
|
|
help='The path to the OCI CLI-specific configuration file, containing parameter default values and other configuration information such as command aliases and predefined queries. The --defaults-file option is deprecated and you should use the --cli-rc-file option instead.')
|