From 343fb4271af5c34dfba4828a8a463e256b7f289c Mon Sep 17 00:00:00 2001 From: Mustafa Baser Date: Wed, 19 Jun 2024 16:32:20 +0300 Subject: [PATCH] fix(jans-cli): --schema option renamed to --schema-sample Signed-off-by: Mustafa Baser --- jans-cli-tui/cli_tui/cli/config_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jans-cli-tui/cli_tui/cli/config_cli.py b/jans-cli-tui/cli_tui/cli/config_cli.py index b3c6df2b95e..6eb30411177 100755 --- a/jans-cli-tui/cli_tui/cli/config_cli.py +++ b/jans-cli-tui/cli_tui/cli/config_cli.py @@ -164,7 +164,7 @@ def read_swagger(op_mode): parser.add_argument("--endpoint-args", help="Arguments to pass endpoint separated by comma. For example limit:5,status:INACTIVE") -parser.add_argument("--schema", help="Get sample json schema") +parser.add_argument("--schema-sample", help="Get sample json schema template") parser.add_argument("-CC", "--config-api-mtls-client-cert", help="Path to SSL Certificate file") parser.add_argument("-CK", "--config-api-mtls-client-key", help="Path to SSL Key file") @@ -1102,7 +1102,7 @@ def help_for(self, op_name): schema_path_string = '{}{}'.format(mode_suffix, os.path.basename(schema_path)) if ' ' in schema_path_string: schema_path_string = '\"{}\"'.format(schema_path_string) - print("To get sample schema type {0}{2} --schema , for example {0}{2} --schema {1}".format(sys.argv[0], schema_path_string, scim_arg)) + print("To get sample schema type {0}{2} --schema-sample , for example {0}{2} --schema-sample {1}".format(sys.argv[0], schema_path_string, scim_arg)) def render_json_entry(self, val): if isinstance(val, str) and val.startswith('_file '):