mirror of
https://github.com/flatpak/flatpak.git
synced 2026-06-26 09:17:00 -04:00
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:
committed by
Sebastian Wick
parent
f4946b206b
commit
e77bb49d88
@@ -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.")
|
||||
|
||||
Reference in New Issue
Block a user