echo help text from file

This commit is contained in:
Akash Manohar J 2015-05-06 19:15:17 +05:30
parent 6632e18d4f
commit dca70739f5
2 changed files with 36 additions and 1 deletions

35
help.txt Normal file
View File

@ -0,0 +1,35 @@
-- Usage --
MANAGE SOURCES
asdf add-source <name> <git-url>
asdf remove-source <name>
asdf update-source <name>
asdf update-source --all
MANAGE PACKAGES
asdf install <name> <version>
asdf remove <name> <version>
LIST INSTALLED VERSIONS
asdf list <name>
LIST ALL VERSIONS
asdf list-all <name>
UTILS
asdf reshim <name> <version>
-- end I promise --

View File

@ -197,5 +197,5 @@ source_update_command() {
help_command() {
echo "display help message"
cat $(asdf_dir)/help.txt
}