Bug#1068496: [manpage] notify-send(1): inaccurate "-A" option description

Frank Mascal mascal at gmx.fr
Sat Apr 6 12:42:12 BST 2024


Package: libnotify-bin
Version: 0.8.1-1
Severity: minor
Tags: patch

Hi,

(Note that it impacts unstable despite being reported against bookworm)

There is an error in the documentation of notify-send(1), i quote:

> -A, --action=[NAME=]Text...
>	  Specifies the actions to display to the user. Implies --wait to wait
>	  for user input. May be set multiple times. The NAME of the action is
>	  output to stdout. If NAME is not specified, the numerical index of
>	  the option is used (starting with 1).

It's not starting with 1, but 0. Run this in a terminal and click "See log":

notify-send -i /usr/share/icons/vendor/64x64/emblems/emblem-vendor.png \
            -A "See log" -t 2000 \
            "Unattended-upgrade" "Some upgrades were applied\!"

To check it out.

Cheers,

Frank.

-- System Information:
Debian Release: 12.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-18-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libnotify-bin depends on:
ii  libc6         2.36-9+deb12u4
ii  libglib2.0-0  2.74.6-2
ii  libnotify4    0.8.1-1

libnotify-bin recommends no packages.

libnotify-bin suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 326 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20240406/93666b45/attachment-0001.bin>


More information about the pkg-gnome-maintainers mailing list