Skip to content

Commit c3db473

Browse files
committed
Change dunstify -c option
1 parent 7979266 commit c3db473

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

completions/dunstify.fishcomp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ complete -c dunstify -s A -l action -x -d 'Actions the user can invoke'
1616
complete -c dunstify -s t -l timeout -x -d 'The time in milliseconds until the notification expires'
1717
complete -c dunstify -s i -l icon -x -d 'An Icon that should be displayed with the notification'
1818
complete -c dunstify -s I -l raw_icon -r -d 'Path to the icon to be sent as raw image data'
19-
complete -c dunstify -l category -d 'The category of this notification'
20-
complete -c dunstify -s c -l capabilities -d 'Print the server capabilities and exit'
19+
complete -c dunstify -s c -l category -d 'The category of this notification'
20+
complete -c dunstify -l capabilities -d 'Print the server capabilities and exit'
2121
complete -c dunstify -s s -l serverinfo -d 'Print server information and exit'
2222
complete -c dunstify -s p -l printid -d 'Print id, which can be used to update/replace this notification'
2323
complete -c dunstify -s r -l replace -x -a '(__fish_dunstify_history)' -d 'Set id of this notification.'

docs/dunstify.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Specifies an icon to display with the notification.
4747

4848
Path to the icon to be sent as raw image data.
4949

50-
=item B<--category=TYPE>
50+
=item B<-c, --category=TYPE>
5151

5252
The category of this notification.
5353

54-
=item B<-c, --capabilities>
54+
=item B<--capabilities>
5555

5656
Print the server capabilities and exit.
5757

dunstify.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ static GOptionEntry entries[] =
3333
{ "timeout", 't', 0, G_OPTION_ARG_INT, &timeout, "The time in milliseconds until the notification expires", "TIMEOUT" },
3434
{ "icon", 'i', 0, G_OPTION_ARG_STRING, &icon, "An icon that should be displayed with the notification", "ICON" },
3535
{ "raw_icon", 'I', 0, G_OPTION_ARG_STRING, &raw_icon_path, "Path to the icon to be sent as raw image data", "RAW_ICON"},
36-
{ "category", 0, 0, G_OPTION_ARG_STRING, &category, "The category of this notification", "TYPE" },
37-
{ "capabilities", 'c', 0, G_OPTION_ARG_NONE, &capabilities, "Print the server capabilities and exit", NULL},
36+
{ "category", 'c', 0, G_OPTION_ARG_STRING, &category, "The category of this notification", "TYPE" },
37+
{ "capabilities", 0, 0, G_OPTION_ARG_NONE, &capabilities, "Print the server capabilities and exit", NULL},
3838
{ "serverinfo", 's', 0, G_OPTION_ARG_NONE, &serverinfo, "Print server information and exit", NULL},
3939
{ "printid", 'p', 0, G_OPTION_ARG_NONE, &printid, "Print id, which can be used to update/replace this notification", NULL},
4040
{ "replace", 'r', 0, G_OPTION_ARG_INT, &replace_id, "Set id of this notification.", "ID"},

0 commit comments

Comments
 (0)