We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf7155 commit 45c70fbCopy full SHA for 45c70fb
1 file changed
lib/tasks/docs.thor
@@ -175,9 +175,13 @@ class DocsCLI < Thor
175
private
176
177
def find_docs(names)
178
- names.map do |name|
+ names.flat_map do |name|
179
name, version = name.split(/@|~/)
180
- Docs.find(name, version)
+ if version == 'all'
181
+ Docs.find(name, false).versions
182
+ else
183
+ Docs.find(name, version)
184
+ end
185
end
186
187
0 commit comments