History

Remove --all option from 'docs:package' command

Ref #25.

Thibaut Courouble committed 10 years ago

Commit b04dba01 parent d20156e1 file · +2 −3Browse files

Unified · Split

lib/tasks/docs.thor+2−3
@@ -102,11 +102,10 @@ class DocsCLI < Thor · 101 unmodified lines
102102 handle_doc_not_found_error(error)
103103 end
104104
105− desc 'package (<doc> <doc@version>... | --all)', 'Package documentations'
106− option :all, type: :boolean
105+ desc 'package <doc> <doc@version>...', 'Package documentations'
107106 def package(*names)
108107 require 'unix_utils'
109− docs = options[:all] ? Docs.all : find_docs(names)
108+ docs = find_docs(names)
110109 assert_docs(docs)
111110 docs.each(&method(:package_doc))
112111 puts 'Done'