Don't provide default short flags
This commit is contained in:
parent
8ba852a849
commit
29164805fb
3 changed files with 4 additions and 10 deletions
|
@ -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"
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue