We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 007c147 commit 055a7c0Copy full SHA for 055a7c0
completions/tar
@@ -383,8 +383,7 @@ __tar_adjust_PREV_from_old_option()
383
# deal with old style arguments here
384
# $ tar cfTC # expects this sequence of arguments:
385
# $ tar cfTC ARCHIVE_FILE PATTERNS_FILE CHANGE_DIR
386
- if ((old_opt_used == 1 && cword > 1 && \
387
- cword < ${#old_opt_parsed[@]} + 2)); then
+ if ((old_opt_used == 1 && cword > 1 && cword < ${#old_opt_parsed[@]} + 2)); then
388
# make e.g. 'C' option from 'cffCT'
389
prev="-${old_opt_parsed[cword - 2]}"
390
fi
0 commit comments