From d367f9c223f35cc5520aaff29861928965ee4b76 Mon Sep 17 00:00:00 2001 From: Cory Omand Date: Wed, 29 Apr 2026 10:39:46 -0700 Subject: [PATCH] Make the -L/--label argument repeatable again. Like some of the other repeatable arguments, the switch to use Gtk.Application argument parsing caused the `-L/--label` argument to not be repeatable. The last use of this argument would be used as the label for the first pane in the diff, and subsequent panes would use a default name. Change the label argument to be STRING_ARRAY typed to allow it to be specified multiple times. --- src/diffuse/main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/diffuse/main.py b/src/diffuse/main.py index 5e43ee4..a1c88fb 100644 --- a/src/diffuse/main.py +++ b/src/diffuse/main.py @@ -98,7 +98,7 @@ def __init__(self, sysconfigdir: str): 'label', ord('L'), GLib.OptionFlags.NONE, - GLib.OptionArg.STRING, + GLib.OptionArg.STRING_ARRAY, _('Display