minor command help tweaks

This commit is contained in:
Trent Mick 2015-10-19 09:03:39 -07:00
parent da447939d2
commit 59c41886d1
4 changed files with 7 additions and 5 deletions

View File

@ -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);

View File

@ -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'
}, },

View File

@ -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'

View File

@ -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'