mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 21:58:08 +00:00
Remove useless grep in completion script
This commit is contained in:
parent
9ccafea592
commit
39f1f11d74
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ _liblinphone_complete() {
|
|||
# echo "yes!$prev_arg $has_not_set_suite"
|
||||
if [ "$prev_arg" = "--test" ] && [ $has_not_set_suite = 0 ]; then
|
||||
suite_name=$(echo $@ | sed -nE 's/.*--suite (.*) (--.*)$/\1/p' |sed "s@\\\\@@g")
|
||||
completions="$($program --list-tests $suite_name | grep "^$latest_arg")"
|
||||
completions="$($program --list-tests $suite_name)"
|
||||
elif [ "$prev_arg" = "--suite" ] || [ "$prev_arg" = "--list-tests" ]; then
|
||||
completions="$($program --list-suites)"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue