From 9597b7505ab1cf64c246b4a32e14b0602c36b1b2 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 14 Oct 1999 15:05:40 +0000 Subject: manual/8249 --- Completion/Core/_files | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'Completion/Core/_files') diff --git a/Completion/Core/_files b/Completion/Core/_files index b6349a8c5..38eafd196 100644 --- a/Completion/Core/_files +++ b/Completion/Core/_files @@ -17,9 +17,12 @@ if [[ $# -ne 0 && compstate[nmatches] -eq nm ]]; then # files and give up immediatly. opts=() - while getopts "P:S:W:F:J:V:X:f/g:" opt; do - [[ "$opt" = f ]] && return - [[ "$opt" = [PSWFJVX] ]] && opts=("$opts[@]" "-$opt" "$OPTARG") + while getopts "P:S:qr:R:W:F:J:V:X:f/g:M:" opt; do + case "$opt" in + f) return;; + [PSrRWFJVXM]) opts=("$opts[@]" "-$opt" "$OPTARG");; + q) opts=("$opts[@]" -q);; + esac done _path_files "$opts[@]" && ret=0 -- cgit 1.4.1