aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/inspect.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-02-23 20:52:38 -0800
committerelijah <elijah@riseup.net>2013-02-23 20:52:38 -0800
commit330c856014130b599d85d90e2f943d23ab1efc19 (patch)
treed03f5def53d075494689d55c47b3e918868cac06 /lib/leap_cli/commands/inspect.rb
parentd28e451529b748b144e3fb0278afece967132e9f (diff)
downloadleap_cli-330c856014130b599d85d90e2f943d23ab1efc19.tar.gz
leap_cli-330c856014130b599d85d90e2f943d23ab1efc19.tar.bz2
minor improvements to wording of inline command help
Diffstat (limited to 'lib/leap_cli/commands/inspect.rb')
-rw-r--r--lib/leap_cli/commands/inspect.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/leap_cli/commands/inspect.rb b/lib/leap_cli/commands/inspect.rb
index 97d0b20..0c40356 100644
--- a/lib/leap_cli/commands/inspect.rb
+++ b/lib/leap_cli/commands/inspect.rb
@@ -1,11 +1,11 @@
module LeapCli; module Commands
- desc 'Prints information about a file or node.'
- arg_name '<file-or-node>', :optional => false
+ desc 'Prints details about a file. Alternately, the argument FILE can be the name of a node, service or tag.'
+ arg_name 'FILE'
command :inspect do |c|
c.action do |global_options,options,args|
object = args.first
- assert! object, 'A file path or node name is required'
+ assert! object, 'A file path or node/service/tag name is required'
method = inspection_method(object)
if method && defined?(method)
self.send(method, object, options)