1.1 --- a/ct-ng.comp Mon Oct 27 18:39:24 2008 +0000
1.2 +++ b/ct-ng.comp Tue Dec 16 22:27:07 2008 +0000
1.3 @@ -8,19 +8,21 @@
1.4
1.5 samples=$(${COMP_WORDS[0]} list-samples 2>/dev/null)
1.6 show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;')
1.7 + build_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1build-/g;')
1.8
1.9 steps=$(${COMP_WORDS[0]} list-steps 2>/dev/null |awk '$1 == "-" { print $2; }')
1.10 start_steps=$(echo "${steps}" |sed -r -e 's/($| )/\1+/;')
1.11 stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
1.12
1.13 actions='help menuconfig oldconfig saveconfig
1.14 - list-samples build build. list-steps regtest regtest-local
1.15 - regtest-global clean distclean wiki-samples updatetools
1.16 + build build. build-all build-all.
1.17 + list-samples list-steps
1.18 + clean distclean wiki-samples updatetools
1.19 tarball version'
1.20
1.21 vars="RESTART= STOP="
1.22
1.23 - ct_ng_opts="${samples} ${show_samples}
1.24 + ct_ng_opts="${samples} ${show_samples} ${build_samples}
1.25 ${steps} ${start_steps} ${stop_steps}
1.26 ${actions} ${vars}"
1.27