summaryrefslogtreecommitdiff
path: root/ct-ng.comp
diff options
context:
space:
mode:
Diffstat (limited to 'ct-ng.comp')
-rw-r--r--ct-ng.comp8
1 files changed, 5 insertions, 3 deletions
diff --git a/ct-ng.comp b/ct-ng.comp
index 7560751..b0e0dc8 100644
--- a/ct-ng.comp
+++ b/ct-ng.comp
@@ -8,19 +8,21 @@ _ct-ng () {
samples=$(${COMP_WORDS[0]} list-samples 2>/dev/null)
show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;')
+ build_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1build-/g;')
steps=$(${COMP_WORDS[0]} list-steps 2>/dev/null |awk '$1 == "-" { print $2; }')
start_steps=$(echo "${steps}" |sed -r -e 's/($| )/\1+/;')
stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
actions='help menuconfig oldconfig saveconfig
- list-samples build build. list-steps regtest regtest-local
- regtest-global clean distclean wiki-samples updatetools
+ build build. build-all build-all.
+ list-samples list-steps
+ clean distclean wiki-samples updatetools
tarball version'
vars="RESTART= STOP="
- ct_ng_opts="${samples} ${show_samples}
+ ct_ng_opts="${samples} ${show_samples} ${build_samples}
${steps} ${start_steps} ${stop_steps}
${actions} ${vars}"