mirror of
https://github.com/swaywm/sway.git
synced 2026-04-21 06:46:22 -04:00
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).
This commit is contained in:
parent
a6d0ac9780
commit
a7ec761da4
1 changed files with 2 additions and 2 deletions
|
|
@ -86,14 +86,14 @@ if __name__ == "__main__":
|
||||||
description="This script automatically changes the workspace name in sway depending on your open applications."
|
description="This script automatically changes the workspace name in sway depending on your open applications."
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--duplicates",
|
|
||||||
"-d",
|
"-d",
|
||||||
|
"--duplicates",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help="Set it when you want an icon for each instance of the same application per workspace.",
|
help="Set it when you want an icon for each instance of the same application per workspace.",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--logfile",
|
|
||||||
"-l",
|
"-l",
|
||||||
|
"--logfile",
|
||||||
type=str,
|
type=str,
|
||||||
default="/tmp/sway-autoname-workspaces.log",
|
default="/tmp/sway-autoname-workspaces.log",
|
||||||
help="Path for the logfile.",
|
help="Path for the logfile.",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue