[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#29848: dpkg: alias --print-avail -> -p



Package: dpkg
Version: 1.4.1
Severity: wishlist

It would be nice if the dpkg option --print-avail could be aliases to
something more handy to type, like -p.

I guess something like the patch below should be enough:

--- dpkg-1.4.1.orig/main/main.c Sun Nov  1 17:35:24 1998
+++ dpkg-1.4.1/main/main.c      Sun Nov 22 19:11:25 1998
@@ -70,3 +70,3 @@
   dpkg -s|--status <package-name> ...     display package status details\n\
-  dpkg --print-avail <package-name> ...   display available version details\n\
+  dpkg -p|--print-avail <package-name> .. display available version details\n\
   dpkg -L|--listfiles <package-name> ...  list files ned' by package(s)\n\
@@ -308,3 +308,3 @@
   ACTION( "set-selections",                  0,  act_setselections, setselections   ),
-  ACTION( "print-avail",                     0,  act_printavail,    enqperpackage   ),
+  ACTION( "print-avail",                    'p', act_printavail,    enqperpackage   ),
   ACTION( "update-avail",                    0,  act_avreplace,     updateavailable ),


Regards,
 -Remco

-- System Information
Debian Release: potato
Kernel Version: Linux oloon 2.1.129 #3 Fri Nov 20 16:13:27 CET 1998 i586 unknown

Versions of the packages dpkg depends on:
ii  libc6           2.0.7u-5       The GNU C library version 2 (run-time files)
ii  libstdc++2.8    2.90.29-1      The GNU stdc++ library (old egcs version)
ii  ncurses3.4      1.9.9g-8.11    Video terminal manipulation - shared librari


Reply to: