From b3e2059196ce15c00eb1d837016ea2fb0c3940cd Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Mon, 19 Sep 2022 05:38:58 +0200 Subject: [PATCH] packages/cli: add help str for cmd_list --- packages/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli.py b/packages/cli.py index 8879172..96d151d 100644 --- a/packages/cli.py +++ b/packages/cli.py @@ -162,7 +162,7 @@ def cmd_clean(what: Iterable[str] = ['all'], force: bool = False, noop: bool = F @cmd_packages.command(name='list') def cmd_list(): - enforce_wrap() + "List information about available source packages (PKGBUILDs)" logging.info('Discovering packages.') packages = discover_pkgbuilds() logging.info(f'Done! {len(packages)} Pkgbuilds:') @@ -340,4 +340,4 @@ def check_arches_hint(path: str, required: str, provided: list[str]): if required == 'all': for arch in ARCHES: if arch not in provided: - logging.warning(f'Missing {arch} in arches list in {path}, because hint is `all`') + logging.warning(f'Missing {arch} in arches list in {path}, because _arches hint is `all`')