diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-11-15 11:23:00 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-11-15 11:23:00 -0800 |
commit | 3f8a596bbd0d09640746fbbe3c89461d91b131bc (patch) | |
tree | 56d080cfe38c617da991d04d51df00c69d415b06 /src | |
parent | 42dc84da9d13088bdde065020c465c285931e7ad (diff) | |
download | vyatta-cfg-3f8a596bbd0d09640746fbbe3c89461d91b131bc.tar.gz vyatta-cfg-3f8a596bbd0d09640746fbbe3c89461d91b131bc.zip |
fix for bug 6427
* also show non-existing nodes for "edit" completion.
Diffstat (limited to 'src')
-rw-r--r-- | src/cstore/cstore.cpp | 2 |
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"); |