From a7ec761da41675b8275b1c0cd4f6dc7f4bf17127 Mon Sep 17 00:00:00 2001 From: hxr404 <55095883+hxr404@users.noreply.github.com> Date: Mon, 6 Jun 2022 03:12:53 +0200 Subject: [PATCH] fix(autoname-workspaces) rearrange CLI parameters Move shorthand-arguments above full-text-arguments to improve the help menu's UI and to make it more consistent (-h is before --help but for the other arguments it was the other way round). --- contrib/autoname-workspaces.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/autoname-workspaces.py b/contrib/autoname-workspaces.py index 2732c69d1..d9abe7c0c 100755 --- a/contrib/autoname-workspaces.py +++ b/contrib/autoname-workspaces.py @@ -86,14 +86,14 @@ if __name__ == "__main__": description="This script automatically changes the workspace name in sway depending on your open applications." ) parser.add_argument( - "--duplicates", "-d", + "--duplicates", action="store_true", help="Set it when you want an icon for each instance of the same application per workspace.", ) parser.add_argument( - "--logfile", "-l", + "--logfile", type=str, default="/tmp/sway-autoname-workspaces.log", help="Path for the logfile.",