Change expected commands

This commit is contained in:
Akash Manohar J 2014-11-29 10:12:18 +05:30
parent efa1268689
commit 12b420b908
2 changed files with 4 additions and 10 deletions

View File

@ -7,8 +7,8 @@
asdf install <package> <version>
asdf uninstall <package> <version>
asdf installed <package>
asdf available <package>
asdf list <package>
asdf list <package> -a
asdf use <package> <version>
asdf source add <package> <source>
asdf source remove <package>

View File

@ -33,15 +33,9 @@ run_command () {
fi
if [ $1 = "installed" ]
if [ $1 = "list" ]
then
installed_command
exit 0
fi
if [ $1 = "available" ]
then
available_command
list_command
exit 0
fi