diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-06-22 20:18:34 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2020-06-22 20:18:34 +0300 |
commit | 1be10ebcf7dcf5723a3717045fcde3f8ccb91e1a (patch) | |
tree | 669cbc2cd6481b0b994ca53caf18f161aa55d5ee /gitstatus | |
parent | d394a4e038e494354cbdb68aeaebc05e7d0788fa (diff) | |
parent | eadfdba7073e625562ae02841608ea37a46e0120 (diff) |
Merge commit 'eadfdba7073e625562ae02841608ea37a46e0120'
Diffstat (limited to 'gitstatus')
-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;; |