+2008-05-24 Guillem Jover <guillem@debian.org>
+
+ * src/trigcmd.c (main): Remove duplicate program name from badusage.
+
2008-05-19 Martin Koeppe <mkoeppe@gmx.de>,
Guillem Jover <guillem@debian.org>
Based on a patch by Ben Finney.
* Fix link order when using libcompat.a and libintl.a by placing them after
libdpkg.a. Based on a patch by Martin Koeppe. Closes: #481805
+ * Remove duplicate program name from dpkg-trigger badusage output.
[ Raphael Hertzog ]
* Enhance dpkg-shlibdeps's error message when a library can't be found to
if (f_check) {
if (*argv)
- badusage(_("dpkg-trigger --check-supported takes no arguments"));
+ badusage(_("--check-supported takes no arguments"));
do_check();
}
if (!*argv || argv[1])
- badusage(_("dpkg-trigger takes one argument, the trigger name"));
+ badusage(_("takes one argument, the trigger name"));
if (!bypackage) {
bypackage = getenv(MAINTSCRIPTPKGENVVAR);
activate = argv[0];
if ((badname = illegal_triggername(activate)))
- badusage(_("dpkg-trigger: invalid trigger name `%.250s': %.250s"),
+ badusage(_("invalid trigger name `%.250s': %.250s"),
activate, badname);
trigdef = &tdm_add;