If you look at the help message you get when it doesn't work, it says ..
To be compatible with gNotify the following switch is accepted:
-t,--title Does nothing. Any text following will be treated as the
title because that's the default argument behaviour
So, you don't really need the -t
You just need the last thing on the line to be the title you want.
The thing is, you want your title to start with a "-", which confuses
growlnotify into thinking another argument is coming,
What it doesn't say, but is fairly common with argument processing, is that
if you use "--" it typically means, stop argument processing here.
So, to get the behavior you are looking for, try
/usr/local/bin/growlnotify -m "test" -- -1 C
Works for me in
growlnotify 1.2.2
On Wednesday, November 14, 2012 12:50:08 AM UTC-5, Рак Отшельник wrote:
>
> /usr/local/bin/growlnotify -t '-1 C' -m "test" # dont work in all versions
> /usr/local/bin/growlnotify -t '1 C' -m "test" # work
>
>
--
You received this message because you are subscribed to the Google Groups
"Growl Discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/growldiscuss/-/Wcfw5itDof4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/growldiscuss?hl=en.