To see syntax information for a given command, display its help message by entering the command name at the prompt, followed by -h or --help. The help message indicates supported arguments and indicates which arguments require values.
For example, to display the help message for the command view create
run view create --help
:
vcli: admin> view create --help optional arguments: -h, --help show this help message and exit --cluster-id CLUSTER_ID --path PATH --alias ALIAS --policy-id POLICY_ID --create-dir --protocols [PROTOCOLS] --share SHARE
In this example:, each of the following arguments, if specified, requires a value: the help message provides the following information:
Each of the following arguments, if specified, takes a string or integer value:
--cluster-id
,--path
,--alias
,--policy-id
,--share
.The following argument, if specified, takes no value:
--create-dir
.The following argument, if specified, takes an array value:
--protocols
.
For help entering a valid value for an argument, type a space after the argument to reveal a generic value format, an array of possible values, or an example. For example:

Comments
0 comments
Article is closed for comments.