diff --git a/slpkg/main.py b/slpkg/main.py index 32754971..013abace 100755 --- a/slpkg/main.py +++ b/slpkg/main.py @@ -87,14 +87,14 @@ def main(): parser.add_argument("-v", "--verbose", help="print version and exit", action="store_true") parser.add_argument("-a", help="auto build packages", - type=str, nargs="+", metavar=("script", "source")) + type=str, nargs="+", metavar=("script", "sources")) parser.add_argument("-l", help="list of installed packages", choices="all sbo slack noarch".split(), metavar=("all, sbo, slack, noarch")) parser.add_argument("-c", help="check if your packages is up to date", - type=str, nargs="+", metavar=("sbo, slack")) + type=str, nargs="+", metavar=("sbo, slack", "")) parser.add_argument("-s", help="download, build & install packages", - type=str, nargs="+", metavar=("sbo, slack")) + type=str, nargs="+", metavar=("sbo, slack","")) parser.add_argument("-t", help="packages tracking dependencies from SBo", type=str, metavar=("")) parser.add_argument("-n", help="view packages from SBo repository", @@ -172,7 +172,7 @@ def main(): err1_args("".join(args.s[0]), choices) elif len(args.s) < 2: if "sbo" in args.s or "slack" in args.s: - choices = ["upgrade"] + choices = ["package"] ext_err_args() err2_args(choices) else: