Remove some code left over from debugging the completion script
This commit was SVN r29516.
Этот коммит содержится в:
родитель
ac23c02bc2
Коммит
c8844d1514
@ -113,11 +113,9 @@ _mpirun() {
|
|||||||
# Remove mca parameters already on the command line
|
# Remove mca parameters already on the command line
|
||||||
already_specified=($(_find_mca_parameters | sort))
|
already_specified=($(_find_mca_parameters | sort))
|
||||||
all_variables=($(_get_mca_variable_names | sort))
|
all_variables=($(_get_mca_variable_names | sort))
|
||||||
if test -n "${already_specified[*]}" ; then
|
|
||||||
avail_variables=($(_set_remove "${all_variables[*]}" "${already_specified[*]}"))
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Return a fuzzy-search of the mca parameter names
|
avail_variables=($(_set_remove "${all_variables[*]}" "${already_specified[*]}"))
|
||||||
|
# Return a fuzzy-search of the mca parameter names
|
||||||
COMPREPLY=($(_fuzzy_search "$cur" "${avail_variables[*]}"))
|
COMPREPLY=($(_fuzzy_search "$cur" "${avail_variables[*]}"))
|
||||||
elif test "${tb##*-}" = "mca" ; then
|
elif test "${tb##*-}" = "mca" ; then
|
||||||
# Complete variable value
|
# Complete variable value
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user