Closed baodrate closed 3 years ago
Currently, the script consumes the -- argument that marks the beginning of positional arguments.
--
That means that despite properly deliminating the positional arguments with --, gdbus call is invoked improperly.
gdbus call
See this usage example comparing the results of libnotify's notify-send against notify-send.sh
notify-send
notify-send.sh
$ notify-send summary -test Missing argument for -t $ notify-send.sh summary -test Unknown option -test $ notify-send -- summary -test # notification produced with body '-test' $ notify-send.sh -- summary -test Usage: gdbus call [OPTION…] ...
@qubidt thank you!
Currently, the script consumes the
--
argument that marks the beginning of positional arguments.That means that despite properly deliminating the positional arguments with
--
,gdbus call
is invoked improperly.See this usage example comparing the results of libnotify's
notify-send
againstnotify-send.sh