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.
This commit is contained in:
Mia McMahill
2026-05-30 22:38:15 -05:00
committed by Sebastian Wick
parent f4946b206b
commit e77bb49d88

View File

@@ -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.")