From df88fb24e728f3674af41bc3b459acf346717c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Thu, 10 Sep 2020 01:58:40 +0200 Subject: [PATCH] Use NAME global as program name --- agetpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agetpkg b/agetpkg index b5c6039..135911d 100755 --- a/agetpkg +++ b/agetpkg @@ -327,7 +327,7 @@ def install_packages(packages, select_all=False): def parse_argv(): '''Parse command line arguments''' local_arch = uname().machine - p_main = ArgumentParser() + p_main = ArgumentParser(prog=NAME) # update index options g_update = p_main.add_mutually_exclusive_group() g_update.add_argument("-u", "--force-update", -- GitLab