minor command help tweaks
This commit is contained in:
parent
da447939d2
commit
59c41886d1
@ -406,7 +406,7 @@ function getCliTableOptions(opts) {
|
|||||||
};
|
};
|
||||||
if (opts.sortDefault) {
|
if (opts.sortDefault) {
|
||||||
o.default = opts.sortDefault;
|
o.default = opts.sortDefault;
|
||||||
o.help = format('%s Default is "%s"."', o.help, opts.sortDefault);
|
o.help = format('%s Default is "%s".', o.help, opts.sortDefault);
|
||||||
}
|
}
|
||||||
tOpts.push(o);
|
tOpts.push(o);
|
||||||
|
|
||||||
|
@ -203,10 +203,10 @@ do_create_instance.options = [
|
|||||||
// type: 'arrayOfCommaSepString',
|
// type: 'arrayOfCommaSepString',
|
||||||
// help: 'One or more (comma-separated) networks IDs.'
|
// help: 'One or more (comma-separated) networks IDs.'
|
||||||
//},
|
//},
|
||||||
// XXX locality: near, far
|
|
||||||
// XXX metadata, metadata-file
|
|
||||||
// XXX script (user-script)
|
// XXX script (user-script)
|
||||||
// XXX tag
|
// XXX tag
|
||||||
|
// XXX locality: near, far
|
||||||
|
// XXX metadata, metadata-file
|
||||||
{
|
{
|
||||||
group: 'Other options'
|
group: 'Other options'
|
||||||
},
|
},
|
||||||
|
@ -76,7 +76,9 @@ do_datacenters.options = [
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
do_datacenters.help = (
|
do_datacenters.help = (
|
||||||
'Show datacenters information\n'
|
'Show datacenters in this cloud.\n'
|
||||||
|
+ 'A "cloud" is a set of related datacenters that share account\n'
|
||||||
|
+ 'information.\n'
|
||||||
+ '\n'
|
+ '\n'
|
||||||
+ 'Usage:\n'
|
+ 'Usage:\n'
|
||||||
+ ' {{name}} datacenters\n'
|
+ ' {{name}} datacenters\n'
|
||||||
|
@ -52,7 +52,7 @@ do_keys.options = [
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
do_keys.help = (
|
do_keys.help = (
|
||||||
'Show public keys.\n'
|
'Show account keys.\n'
|
||||||
+ '\n'
|
+ '\n'
|
||||||
+ 'Usage:\n'
|
+ 'Usage:\n'
|
||||||
+ ' {{name}} keys\n'
|
+ ' {{name}} keys\n'
|
||||||
|
Reference in New Issue
Block a user