From 330c856014130b599d85d90e2f943d23ab1efc19 Mon Sep 17 00:00:00 2001 From: elijah Date: Sat, 23 Feb 2013 20:52:38 -0800 Subject: minor improvements to wording of inline command help --- lib/leap_cli/commands/inspect.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/leap_cli/commands/inspect.rb') 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 '', :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) -- cgit v1.2.3