Fix bug of validation of jump-labels (#1875)

When jump-labels are specified with `--jump-labels=` way, validation was
not carried out.
pull/1878/head
Hiroki Konishi 4 years ago committed by GitHub
parent b57e6cff7e
commit d61ac32d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
}

Loading…
Cancel
Save