fix list logic. refs #1405 refs #1406
authorTom Clegg <tom@clinicalfuture.com>
Wed, 20 Mar 2013 02:56:17 +0000 (19:56 -0700)
committerTom Clegg <tom@clinicalfuture.com>
Wed, 20 Mar 2013 02:56:17 +0000 (19:56 -0700)
cli/wh

diff --git a/cli/wh b/cli/wh
index 648bd115fecde059b7b6711cdca4e6815f40cdb2..efabc0dc55a99fea0476ab6d37b43564e16e6581 100755 (executable)
--- a/cli/wh
+++ b/cli/wh
@@ -174,7 +174,7 @@ if method_opts[:json] then
   puts results.to_s
 elsif method_opts[:jsonhuman] then
   puts results.pretty_inspect()
-elsif results["items"] and results["kind"].match /list$/
+elsif results["items"] and results["kind"].match /list$/i
   results['items'].each do |i| puts i['uuid'] end
 else
   puts results['uuid']