diff options
Diffstat (limited to 'gitstatus/gitstatus.plugin.zsh')
-rw-r--r-- | gitstatus/gitstatus.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh index 0df36724..32c20f32 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh @@ -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;; |