diff options
author | Christian Hammond <chipx86@chipx86.com> | 2006-03-20 22:17:10 +0000 |
---|---|---|
committer | Christian Hammond <chipx86@chipx86.com> | 2006-03-20 22:17:10 +0000 |
commit | 30961cc1a622090dcf79bd476a7401e196527ad8 (patch) | |
tree | 9ae7d404ab7b0d2a55ad8d3ced945abb23d16d04 | |
parent | 69547a286e2b85e2bdd805c9849f093d086e950a (diff) | |
download | libnotify-30961cc1a622090dcf79bd476a7401e196527ad8.tar.gz |
- Change the help for notify-send to indicate that --expire-timeout requires milliseconds, not seconds. This fixes bug #28.
- Fixed the short flag for --type to be -T. This fixes bug #18.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | tools/notify-send.c | 10 |
2 files changed, 12 insertions, 5 deletions
@@ -1,3 +1,10 @@ +Mon Mar 20 14:12:15 PST 2006 Christian Hammond <chipx86@chipx86.com> + + * tools/notify-send.c: + - Change the help for notify-send to indicate that --expire-timeout + requires milliseconds, not seconds. This fixes bug #28. + - Fixed the short flag for --type to be -T. This fixes bug #18. + Sat Mar 18 14:47:53 PST 2006 Christian Hammond <chipx86@chipx86.com> * tools/notify-send.c: diff --git a/tools/notify-send.c b/tools/notify-send.c index 66445d9..e0c3bc6 100644 --- a/tools/notify-send.c +++ b/tools/notify-send.c @@ -51,20 +51,20 @@ main(int argc, const char **argv) NULL }, { "expire-time", 't', POPT_ARG_INT | POPT_ARGFLAG_STRIP, &expire_timeout, 0, - N_("Specifies the timeout in seconds at which to expire the " + N_("Specifies the timeout in milliseconds at which to expire the " "notification."), NULL }, { "icon", 'i', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &icons, 0, N_("Specifies an icon filename or stock icon to display."), - N_("ICON1,ICON2,...") }, - { "type", 't', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &type, 0, + N_("ICON") }, + { "type", 'T', POPT_ARG_STRING | POPT_ARGFLAG_STRIP, &type, 0, N_("Specifies the notification type."), - N_("ICON1,ICON2,...") }, + N_("TYPE") }, POPT_AUTOHELP POPT_TABLEEND }; - g_type_init (); + g_type_init(); opt_ctx = poptGetContext("notify-send", argc, argv, options, 0); poptSetOtherOptionHelp(opt_ctx, "[OPTIONS]* <summary> [body]"); |