Browse Source

reformat tag cli help text

pull/14/head
Brett Langdon 11 years ago
parent
commit
63a6394f97
1 changed files with 10 additions and 9 deletions
  1. +10
    -9
      lib/api/tag.js

+ 10
- 9
lib/api/tag.js View File

@ -221,16 +221,17 @@ module.exports = {
}, },
getHelp: function(){ getHelp: function(){
return [ return [
"Tag Commands:",
" get_all get all tags",
" get <host> get all tags for a given host",
" remove <host> delete tags for a given host",
" create <host> <tags> add the comma separates \"tag:value\"'s from <tag> to <host>",
" update <host> <tags> update the comma separates \"tag:value\"'s from <tag> to <host>",
"Tag:",
" Commands:",
" get_all get all tags",
" get <host> get all tags for a given host",
" remove <host> delete tags for a given host",
" create <host> <tags> add the comma separates \"tag:value\"'s from <tag> to <host>",
" update <host> <tags> update the comma separates \"tag:value\"'s from <tag> to <host>",
"", "",
"Tag Options:",
" --source <source> the source of the tags (e.g. \"chef\", \"user\", \"jenkins\", etc)",
" --by-source whether the results should be grouped by source"
" Options:",
" --source <source> the source of the tags (e.g. \"chef\", \"user\", \"jenkins\", etc)",
" --by-source whether the results should be grouped by source"
]; ];
}, },
handleCli: function(subcommand, args, callback){ handleCli: function(subcommand, args, callback){


Loading…
Cancel
Save