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/inspect.rb | |
parent | d28e451529b748b144e3fb0278afece967132e9f (diff) |
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.rb | 6 |
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) |