summaryrefslogtreecommitdiff
path: root/lib/chef/knife/help.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/help.rb')
-rw-r--r--lib/chef/knife/help.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/chef/knife/help.rb b/lib/chef/knife/help.rb
index f4221f233a..e45b54eec8 100644
--- a/lib/chef/knife/help.rb
+++ b/lib/chef/knife/help.rb
@@ -43,8 +43,6 @@ MOAR_HELP
@query = name_args.join("-")
end
-
-
case @query
when "topics", "list"
print_help_topics
@@ -67,7 +65,7 @@ MOAR_HELP
def print_help_topics
ui.info "Available help topics are: "
- help_topics.collect {|t| t.gsub(/knife-/, "") }.sort.each do |topic|
+ help_topics.collect { |t| t.gsub(/knife-/, "") }.sort.each do |topic|
ui.msg " #{topic}"
end
end