Blame SOURCES/0023-src-augtool.c-add-command-aliases-to-autocomplete.patch
|
|
ab36df |
From f153c132ad5b8987c86b472eb73b1607a5223f42 Mon Sep 17 00:00:00 2001
|
|
|
ab36df |
From: Dominic Cleal <dcleal@redhat.com>
|
|
|
ab36df |
Date: Mon, 2 Jun 2014 13:35:30 +0100
|
|
|
ab36df |
Subject: [PATCH] * src/augtool.c: add command aliases to autocomplete
|
|
|
ab36df |
|
|
|
ab36df |
Fixes RHBZ#1100184
|
|
|
ab36df |
|
|
|
ab36df |
(cherry picked from commit 0d540378e3e319607a078bcce520dd74e2f71013)
|
|
|
ab36df |
|
|
|
ab36df |
Conflicts:
|
|
|
ab36df |
NEWS
|
|
|
ab36df |
---
|
|
|
ab36df |
src/augtool.c | 2 +-
|
|
|
ab36df |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
ab36df |
|
|
|
ab36df |
diff --git a/src/augtool.c b/src/augtool.c
|
|
|
ab36df |
index 9ec3839..54fc507 100644
|
|
|
ab36df |
--- a/src/augtool.c
|
|
|
ab36df |
+++ b/src/augtool.c
|
|
|
ab36df |
@@ -171,7 +171,7 @@ static char *readline_command_generator(const char *text, int state) {
|
|
|
ab36df |
"get", "label", "ins", "load", "ls", "match",
|
|
|
ab36df |
"mv", "rename", "print", "dump-xml", "rm", "save", "set", "setm",
|
|
|
ab36df |
"clearm", "span", "store", "retrieve", "transform",
|
|
|
ab36df |
- "help", NULL };
|
|
|
ab36df |
+ "help", "touch", "insert", "move", "copy", NULL };
|
|
|
ab36df |
|
|
|
ab36df |
static int current = 0;
|
|
|
ab36df |
const char *name;
|