diff options
author | elijah <elijah@riseup.net> | 2013-02-23 20:52:38 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-23 20:52:38 -0800 |
commit | 330c856014130b599d85d90e2f943d23ab1efc19 (patch) | |
tree | d03f5def53d075494689d55c47b3e918868cac06 /lib/leap_cli/commands/list.rb | |
parent | d28e451529b748b144e3fb0278afece967132e9f (diff) | |
download | leap_cli-330c856014130b599d85d90e2f943d23ab1efc19.tar.gz leap_cli-330c856014130b599d85d90e2f943d23ab1efc19.tar.bz2 |
minor improvements to wording of inline command help
Diffstat (limited to 'lib/leap_cli/commands/list.rb')
-rw-r--r-- | lib/leap_cli/commands/list.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/leap_cli/commands/list.rb b/lib/leap_cli/commands/list.rb index 02389e7..4ff2367 100644 --- a/lib/leap_cli/commands/list.rb +++ b/lib/leap_cli/commands/list.rb @@ -4,13 +4,13 @@ module LeapCli; module Commands desc 'List nodes and their classifications' long_desc 'Prints out a listing of nodes, services, or tags. ' + - 'The node-filter can be a list of names of nodes, services, or tags. ' + + 'If present, the FILTER can be a list of names of nodes, services, or tags. ' + 'If the name is prefixed with +, this acts like an AND condition. ' + "For example:\n\n" + - " * node1 node2 -> matches all nodes named \"node1\" OR \"node2\"\n\n" + - " * openvpn +local -> matches all nodes with service \"openvpn\" AND tag \"local\"" + "`leap list node1 node2` matches all nodes named \"node1\" OR \"node2\"\n\n" + + "`leap list openvpn +local` matches all nodes with service \"openvpn\" AND tag \"local\"" - arg_name '[node-filter]', :optional => true + arg_name 'FILTER', :optional => true command :list do |c| c.flag 'print', :desc => 'What attributes to print (optional)' c.action do |global_options,options,args| |