diff options
author | jtimberman <joshua@opscode.com> | 2009-06-18 12:53:01 -0600 |
---|---|---|
committer | jtimberman <joshua@opscode.com> | 2009-06-18 12:53:01 -0600 |
commit | 413516b8d2cf39dc76023e07c97e2b6b50a28ad5 (patch) | |
tree | ba1cf5d60ca4d7c9aa1fa19754eb5ab09d14c296 /bin | |
parent | 67dc63cd60333ff452c29b03c488fd11c340c6fc (diff) | |
download | ohai-413516b8d2cf39dc76023e07c97e2b6b50a28ad5.tar.gz |
add help on attribute usage
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ohai | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -32,7 +32,7 @@ config = { } opts = OptionParser.new do |opts| - opts.banner = "Usage: #{$0} (options)" + opts.banner = "Usage: #{$0} (options) [attributes]" opts.on("-d", "--directory NAME", "A directory to add to the Ohai search path") do |d| config[:directory] = d end @@ -48,6 +48,7 @@ opts = OptionParser.new do |opts| end opts.on_tail("-h", "--help", "Show this message") do puts opts + puts "\n [attributes] is a space-separated list of top-level attributes to display (JSON)." exit end end |