mirror of https://github.com/ArduPilot/ardupilot
Tools : completion add submoduleclean & submodule_force_clean
This commit is contained in:
parent
5b5ee4e95d
commit
b42138bfb6
|
@ -31,6 +31,8 @@ _waf()
|
|||
opts+=" configure"
|
||||
opts+=" clean"
|
||||
opts+=" distclean"
|
||||
opts+=" submodule_force_clean"
|
||||
opts+=" submodulesync"
|
||||
|
||||
# Prevent word reuse TODO: add -vvv case
|
||||
lim=$((COMP_CWORD - 1))
|
||||
|
|
|
@ -89,7 +89,9 @@ _waf_cmds() {
|
|||
'build:executes the build' \
|
||||
'configure:configures the project' \
|
||||
'clean:cleans the project' \
|
||||
'distclean:removes build folders and data'
|
||||
'distclean:removes build folders and data' \
|
||||
'submodule_force_clean:removes all submodules, then checkouts all current submodules and synchronizes them' \
|
||||
'submodulesync:checkouts all current submodules and synchronizes them'
|
||||
)
|
||||
_describe -t commands 'command' commands "$@" && ret=0
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue