To see full syntax information for a given command, display its help message by entering the command name at the prompt, followed by ?. The help message indicates required arguments, optional arguments, and which arguments require values.
For example, to display the help message for the command export create
, which creates an NFS export, run export create ?
:
vcli: admin> export create ? Illegal arguments: the following arguments are required: --path optional arguments: -h, --help show this help message and exit --cluster-id CLUSTER_ID --path PATH --alias ALIAS --policy-id POLICY_ID --create-dir --enable-posix-acl --disable-posix-acl vcli: admin>
In this example, the help message provides the following information:
The following arguments are required:
path
Each of the following arguments, if specified, requires a value:
cluster-id
,path
,alias
,policy-id
.Each of the following arguments, if specified, must be specified without a value:
create-dir
,enable-posix-acl
,disable-posix-acl
.
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.