style(shell-completion): remove trailing semicolons

This commit is contained in:
Eisuke Kawashima
2025-07-14 20:24:25 +09:00
parent 56c093004c
commit 5300aa7a1d
13 changed files with 29 additions and 29 deletions
+6 -6
View File
@@ -107,7 +107,7 @@ _resolvectl() {
if __contains_word "${COMP_WORDS[i]}" ${ARGS[FAMILY]} &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
name=${COMP_WORDS[i]}
break;
break
fi
done
if [[ -z $name ]]; then
@@ -122,7 +122,7 @@ _resolvectl() {
if __contains_word "${COMP_WORDS[i]}" $interfaces &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
name=${COMP_WORDS[i]}
break;
break
fi
done
@@ -135,7 +135,7 @@ _resolvectl() {
if __contains_word "${COMP_WORDS[i]}" ${ARGS[RESOLVE]} &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
name=${COMP_WORDS[i]}
break;
break
fi
done
@@ -151,7 +151,7 @@ _resolvectl() {
if __contains_word "${COMP_WORDS[i]}" ${ARGS[BOOLEAN]} &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
name=${COMP_WORDS[i]}
break;
break
fi
done
@@ -167,7 +167,7 @@ _resolvectl() {
if __contains_word "${COMP_WORDS[i]}" ${ARGS[DNSSEC]} &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
name=${COMP_WORDS[i]}
break;
break
fi
done
@@ -183,7 +183,7 @@ _resolvectl() {
if __contains_word "${COMP_WORDS[i]}" ${ARGS[DNSOVERTLS]} &&
! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then
name=${COMP_WORDS[i]}
break;
break
fi
done