Skip to content

Commit 055a7c0

Browse files
committed
style(tar): reformat with shfmt 3.5.1
1 parent 007c147 commit 055a7c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

completions/tar

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,7 @@ __tar_adjust_PREV_from_old_option()
383383
# deal with old style arguments here
384384
# $ tar cfTC # expects this sequence of arguments:
385385
# $ tar cfTC ARCHIVE_FILE PATTERNS_FILE CHANGE_DIR
386-
if ((old_opt_used == 1 && cword > 1 && \
387-
cword < ${#old_opt_parsed[@]} + 2)); then
386+
if ((old_opt_used == 1 && cword > 1 && cword < ${#old_opt_parsed[@]} + 2)); then
388387
# make e.g. 'C' option from 'cffCT'
389388
prev="-${old_opt_parsed[cword - 2]}"
390389
fi

0 commit comments

Comments
 (0)