Author: guillem
Date: 2007-05-15 12:56:33 +0000 (Tue, 15 May 2007)
New Revision: 776

Modified:
   trunk/ChangeLog
   trunk/scripts/dpkg-divert.pl
   trunk/scripts/dpkg-statoverride.pl
Log:
        * scripts/dpkg-divert.pl (checkmanymodes): Change the error message to
        say 'commands' instead of 'modes'.
        * scripts/dpkg-statoverride.pl (CheckModeConflict): Likewise. Use
        gettext for the string.


Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2007-05-15 03:18:52 UTC (rev 775)
+++ trunk/ChangeLog     2007-05-15 12:56:33 UTC (rev 776)
@@ -1,5 +1,12 @@
 2007-05-15  Guillem Jover  <[EMAIL PROTECTED]>
 
+       * scripts/dpkg-divert.pl (checkmanymodes): Change the error message to
+       say 'commands' instead of 'modes'.
+       * scripts/dpkg-statoverride.pl (CheckModeConflict): Likewise. Use
+       gettext for the string.
+
+2007-05-15  Guillem Jover  <[EMAIL PROTECTED]>
+
        * utils/start-stop-daemon.c (daemonize): Use _exit instead of exit, to
        avoid side effects while the parents terminate.
 

Modified: trunk/scripts/dpkg-divert.pl
===================================================================
--- trunk/scripts/dpkg-divert.pl        2007-05-15 03:18:52 UTC (rev 775)
+++ trunk/scripts/dpkg-divert.pl        2007-05-15 12:56:33 UTC (rev 776)
@@ -75,7 +75,7 @@
 
 sub checkmanymodes {
     return unless $mode;
-    &badusage(sprintf(_g("two modes specified: %s and --%s"), $_, $mode));
+    badusage(sprintf(_g("two commands specified: %s and --%s"), $_, $mode));
 }
 
 while (@ARGV) {

Modified: trunk/scripts/dpkg-statoverride.pl
===================================================================
--- trunk/scripts/dpkg-statoverride.pl  2007-05-15 03:18:52 UTC (rev 775)
+++ trunk/scripts/dpkg-statoverride.pl  2007-05-15 12:56:33 UTC (rev 776)
@@ -59,7 +59,7 @@
 
 sub CheckModeConflict {
        return unless $mode;
-       &badusage("two modes specified: $_ and --$mode");
+       badusage(sprintf(_g("two commands specified: %s and --%s"), $_, $mode));
 }
 
 while (@ARGV) {


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to