diff options
| author | Hiroki Konishi <relastle@gmail.com> | 2020-02-16 15:45:59 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-16 15:45:59 +0900 |
| commit | d61ac32d7b5f1ba0c98c5fff3ec33f76c865e96e (patch) | |
| tree | a9f33d3c398c24a950d9b7407df11b27759d4b0f | |
| parent | b57e6cff7e54bd8dfcb60b2917ffe53d67507046 (diff) | |
| download | fzf-d61ac32d7b5f1ba0c98c5fff3ec33f76c865e96e.tar.gz | |
Fix bug of validation of jump-labels (#1875)
When jump-labels are specified with `--jump-labels=` way, validation was
not carried out.
| -rw-r--r-- | src/options.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.go b/src/options.go index 20d18589..815ac444 100644 --- a/src/options.go +++ b/src/options.go @@ -1303,6 +1303,7 @@ func parseOptions(opts *Options, allArgs []string) { opts.HscrollOff = atoi(value) } else if match, value := optString(arg, "--jump-labels="); match { opts.JumpLabels = value + validateJumpLabels = true } else { errorExit("unknown option: " + arg) } |
