diff --git a/src/spm/spm.moon b/src/spm/spm.moon index e34325a..6e13919 100644 --- a/src/spm/spm.moon +++ b/src/spm/spm.moon @@ -480,11 +480,11 @@ switch args[1] printPackages(listPackages(args[2])) when "info" provideInfo(args[2]) - when "install" or "add" + when "install", "add" installPackage(args[2], args[3], false) - when "update" or "upgrade" + when "update", "upgrade" updatePackage(args[2]) - when "uninstall" or "remove" + when "uninstall", "remove" uninstallPackage(args[2]) when "copy" copyPackage(args[2], args[3])