Package: aptitude
Version: 0.4.9-2
Severity: minor
Tags: patch

The aptitude usage message doesn't include the why and why-not commands.
The attached patch (against 0.4.9) adds the missing lines to main.cc.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-felipe (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.6-6 0.7.9          Advanced front-end for dpkg
ii  libc6                     2.7-3          GNU C Library: Shared libraries
ii  libcwidget0               0.5.5-4        high-level terminal interface libr
ii  libgcc1                   1:4.2.2-4      GCC support library
ii  libncursesw5              5.6+20071124-1 Shared libraries for terminal hand
ii  libsigc++-2.0-0c2a        2.0.17-2       type-safe Signal Framework for C++
ii  libstdc++6                4.2.2-4        The GNU Standard C++ Library v3

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.9-2    English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-1    parse Debian changelogs and output

-- no debconf information
diff -Nru aptitude-0.4.9/src/main.cc aptitude-0.4.9.old/src/main.cc
--- aptitude-0.4.9/src/main.cc  2007-12-02 20:24:35.000000000 -0300
+++ aptitude-0.4.9.old/src/main.cc      2007-11-16 02:07:58.000000000 -0300
@@ -144,8 +144,6 @@
   printf(_(" changelog    - View a package's changelog\n"));
   printf(_(" download     - Download the .deb file for a package\n"));
   printf(_(" reinstall    - Download and (possibly) reinstall a currently 
installed package\n"));
-  printf(_(" why          - Show why a package was/would be installed\n"));
-  printf(_(" why-not      - Show why a package cannot be installed\n"));
   printf("\n");
   printf(_("  Options:\n"));
   printf(_(" -h             This help text\n"));

Reply via email to