Don't provide default short flags

This commit is contained in:
Gnarwhal 2024-09-09 05:46:26 +00:00
parent 8ba852a849
commit 29164805fb
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
3 changed files with 4 additions and 10 deletions

View file

@ -26,13 +26,11 @@ activate = {
} }
args = { args = {
"from_clipboard": Flag( "from_clipboard": Flag(
short="p", name="paste",
long="paste",
help="Upload the contents of the clipboard" help="Upload the contents of the clipboard"
), ),
"to_clipboard": Flag( "to_clipboard": Flag(
short="c", name="copy",
long="copy",
help="Copy the resultant URL to the clipboard" help="Copy the resultant URL to the clipboard"
), ),
} }

View file

@ -28,8 +28,7 @@ config = {
} }
args = { args = {
"directory": Argument( "directory": Argument(
short="l", name="latest",
long="latest",
nargs="?", nargs="?",
const=Flag, const=Flag,
help="Upload the latest file from a directory", help="Upload the latest file from a directory",

View file

@ -21,10 +21,7 @@ plugin_type = "feedback"
activate = { "notify" } activate = { "notify" }
args = { args = {
"notify": Flag( "notify": Flag(help="Send a desktop notification"),
short="n",
help="Send a desktop notification"
)
} }
_notifier = DesktopNotifierSync() _notifier = DesktopNotifierSync()