Merge commit 'eadfdba7073e625562ae02841608ea37a46e0120'

This commit is contained in:
Roman Perepelitsa 2020-06-22 19:18:34 +02:00
commit 1be10ebcf7
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ function gitstatus_start"${1:-}"() {
args+=(-$opt $OPTARG)
[[ $opt == m ]] && dirty_max_index_size=OPTARG
;;
e|U|W|D) args+=$opt;;
e|U|W|D) args+=-$opt;;
+(e|U|W|D)) args=(${(@)args:#-$opt});;
\?) print -ru2 -- "gitstatus_start: invalid option: $OPTARG" ; return 1;;
:) print -ru2 -- "gitstatus_start: missing required argument: $OPTARG"; return 1;;