Re: [growl-discuss] /usr/local/bin/growlnotify --title '-1 C'

22 views
Skip to first unread message

Christopher Forsythe

unread,
Nov 14, 2012, 10:20:44 AM11/14/12
to growld...@googlegroups.com
In all versions of. _______ <- fill in the blanks.

We do not have enough information so far to narrow this down. Please be verbose when reporting issues.

Chris

On Tue, Nov 13, 2012 at 11:50 PM, Рак Отшельник <cancer...@gmail.com> 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/-/iMhTnSEtT-MJ.
To post to this group, send email to growld...@googlegroups.com.
To unsubscribe from this group, send email to growldiscuss...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/growldiscuss?hl=en.



--
Chris Forsythe

slvrstn

unread,
Nov 14, 2012, 8:07:31 PM11/14/12
to growld...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages