Apply apt-0.5.15lorg2-alt-apt-shell-list_completion.patch

Added in commit 1c7245a:
apt-shell: show up "list" command by completion (#5953)
This commit is contained in:
Gleb Fotengauer-Malinovskiy 2014-05-16 21:04:23 +04:00
parent 6bbc09c437
commit 09af461bc4
2 changed files with 1 additions and 14 deletions

View File

@ -1,13 +0,0 @@
https://bugzilla.altlinux.org/show_bug.cgi?id=5953
--- apt/cmdline/apt-shell.cc
+++ apt/cmdline/apt-shell.cc
@@ -4087,7 +4099,7 @@ char *ReadLineCompCommands(const char *Text, int State)
"keep", "dist-upgrade", "dselect-upgrade", "build-dep", "clean",
"autoclean", "check", "help", "commit", "exit", "quit", "status",
"showpkg", "unmet", "search", "depends", "whatdepends", "rdepends",
- "show", "script", 0};
+ "show", "script", "list", "ls", 0};
static int Last;
static int Len;
if (State == 0) {

View File

@ -4137,7 +4137,7 @@ char *ReadLineCompCommands(const char *Text, int State)
"keep", "dist-upgrade", "dselect-upgrade", "build-dep", "clean", "keep", "dist-upgrade", "dselect-upgrade", "build-dep", "clean",
"autoclean", "check", "help", "commit", "exit", "quit", "status", "autoclean", "check", "help", "commit", "exit", "quit", "status",
"showpkg", "unmet", "search", "depends", "whatdepends", "rdepends", "showpkg", "unmet", "search", "depends", "whatdepends", "rdepends",
"show", "script", 0}; "show", "script", "list", "ls", 0};
static int Last; static int Last;
static int Len; static int Len;
if (State == 0) { if (State == 0) {