diff --git a/README.md b/README.md index 8ff70029..2796b993 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ bundle exec rackup Finally, point your browser at [localhost:9292](http://localhost:9292) (the first request will take a few seconds to compile the assets). You're all set. -The `thor docs:download` command is used to download pre-generated documentations from DevDocs's servers (e.g. `thor docs:download html css`). You can see the list of available documentations and versions by running `thor docs:list`. To update all downloaded documentations, run `thor docs:download --installed`. +The `thor docs:download` command is used to download pre-generated documentations from DevDocs's servers (e.g. `thor docs:download html css`). You can see the list of available documentations and versions by running `thor docs:list`. To update all downloaded documentations, run `thor docs:download --installed`. To download and install all documentation this project has available, run `thor docs:download --all`. **Note:** there is currently no update mechanism other than `git pull origin master` to update the code and `thor docs:download --installed` to download the latest version of the docs. To stay informed about new releases, be sure to [watch](https://github.com/freeCodeCamp/devdocs/subscription) this repository. diff --git a/lib/tasks/docs.thor b/lib/tasks/docs.thor index 4e7cbcce..65f62980 100644 --- a/lib/tasks/docs.thor +++ b/lib/tasks/docs.thor @@ -119,7 +119,7 @@ class DocsCLI < Thor puts 'Done' end - desc 'download ( ... | --default | --installed)', 'Download documentations' + desc 'download ( ... | --default | --installed | --all)', 'Download documentations' option :default, type: :boolean option :installed, type: :boolean option :all, type: :boolean