summaryrefslogtreecommitdiff
path: root/src/cstore/cstore.cpp
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-11-15 11:23:00 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2010-11-15 11:23:00 -0800
commit3f8a596bbd0d09640746fbbe3c89461d91b131bc (patch)
tree56d080cfe38c617da991d04d51df00c69d415b06 /src/cstore/cstore.cpp
parent42dc84da9d13088bdde065020c465c285931e7ad (diff)
downloadvyatta-cfg-3f8a596bbd0d09640746fbbe3c89461d91b131bc.tar.gz
vyatta-cfg-3f8a596bbd0d09640746fbbe3c89461d91b131bc.zip
fix for bug 6427
* also show non-existing nodes for "edit" completion.
Diffstat (limited to 'src/cstore/cstore.cpp')
-rw-r--r--src/cstore/cstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp
index cd56500..ed18c9e 100644
--- a/src/cstore/cstore.cpp
+++ b/src/cstore/cstore.cpp
@@ -543,7 +543,7 @@ Cstore::getCompletionEnv(const vector<string>& comps, string& env)
string last_comp = pcomps.back();
pcomps.erase(pcomps.begin());
pcomps.pop_back();
- bool exists_only = (cmd == "delete" || cmd == "show" || cmd == "edit"
+ bool exists_only = (cmd == "delete" || cmd == "show"
|| cmd == "comment" || cmd == "activate"
|| cmd == "deactivate");