summaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources/open-cli-schema
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-13 11:40:16 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-13 11:40:16 +0530
commit8356f97171f8cec8ff07a7d39f5fef5c49e85063 (patch)
treece373c78d97ecfd61284483921dfd1d796347cfb /framework/src/main/resources/open-cli-schema
parent50aea9d5d3db01513c701e34c5f6cf7f6e25ac1f (diff)
Fix -h to be precedence over other args
Issue-ID: CLI-66 Change-Id: I252fe9705d2801012aa571f51d386c0712416ad9 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/resources/open-cli-schema')
-rw-r--r--framework/src/main/resources/open-cli-schema/default_input_parameters.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml b/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
index e8e08f46..02e8a717 100644
--- a/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
+++ b/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
@@ -7,13 +7,13 @@ info:
parameters:
- name: help
- type: string
+ type: bool
description: print help message
short_option: h
long_option: help
default_value: false
- name: version
- type: string
+ type: bool
description: print service version
short_option: v
long_option: version