remove space between function name and argument list
rename flag `packages` to `pkgs`