diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-09-24 11:31:21 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-09-24 11:31:21 -0700 |
commit | 44de464034da0056ffb4fcbe18436624af90004e (patch) | |
tree | 8cda9e61905ec0387ef53d79083856087be10572 /src/cstore | |
parent | d1ac6cf18de187322524b702d2a0b2f669638c1c (diff) | |
download | vyatta-cfg-44de464034da0056ffb4fcbe18436624af90004e.tar.gz vyatta-cfg-44de464034da0056ffb4fcbe18436624af90004e.zip |
cleanup
* set help string only if available.
* use "builtin" explicitly.
Diffstat (limited to 'src/cstore')
-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 8afa3ee..11cdb30 100644 --- a/src/cstore/cstore.cpp +++ b/src/cstore/cstore.cpp @@ -600,7 +600,7 @@ Cstore::getCompletionEnv(const vector<string>& comps, string& env) pair<string, string> hpair(comp_vals[i], ""); push_tmpl_path(hpair.first); vtw_def cdef; - if (tmpl_parse(cdef)) { + if (tmpl_parse(cdef) && cdef.def_node_help) { hpair.second = cdef.def_node_help; } else { hpair.second = "<No help text available>"; |