From e77bb49d88e3ce3452b8d5d41e29ec85458d7fc0 Mon Sep 17 00:00:00 2001 From: Mia McMahill Date: Sat, 30 May 2026 22:38:15 -0500 Subject: [PATCH] flatpak-coredumpctl: Remove nargs="?" from -m option -m with no argument currently results in coredumpctl_matches having a value of "", which is exactly the same as if it weren't used at all. As far as I can tell, allowing this does nothing useful, only making the usage slightly less clear. --- scripts/flatpak-coredumpctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/flatpak-coredumpctl b/scripts/flatpak-coredumpctl index f9df08fb2..67dc73df2 100755 --- a/scripts/flatpak-coredumpctl +++ b/scripts/flatpak-coredumpctl @@ -89,7 +89,7 @@ if __name__ == "__main__": help="Extra argument to pass to flatpak") parser.add_argument("app", nargs="?", help="The flatpak application to use. eg. `org.gnome.Epiphany//3.28`.") - parser.add_argument("-m", "--coredumpctl-matches", default="", nargs="?", + parser.add_argument("-m", "--coredumpctl-matches", default="", help="Coredumpctl matches, see `man coredumpctl` for more information.") parser.add_argument("--gdb-arguments", default="", help="Arguments to pass to gdb.")