The following commit has been merged in the master branch:
commit c57ae609e5be0f7d91f4df58f2a2560cbc02254a
Author: Guillem Jover <guil...@debian.org>
Date:   Thu Jun 7 10:31:28 2012 +0200

    dselect: On --help print action names from the menuentries table
    
    This unmarks those strings for translation, as they should not get
    translated anyway, makes sure all actions will always be listed and
    those will not get out of sync.

diff --git a/dselect/main.cc b/dselect/main.cc
index f73dc36..f1bf6ad 100644
--- a/dselect/main.cc
+++ b/dselect/main.cc
@@ -195,10 +195,10 @@ usage(const struct cmdinfo *ci, const char *value)
 "  --version                  Show the version.\n"
 "\n"));
 
-  printf(_(
-"Actions:\n"
-"  access update select install config remove quit\n"
-"\n"));
+  printf(_("Actions:\n"));
+  for (i = 0; menuentries[i].command; i++)
+    printf("  %s", menuentries[i].command);
+  fputs("\n\n", stdout);
 
   printf(_("Screenparts:\n"));
   for (i=0; screenparttable[i].name; i++)

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to