Update error message for --preview-window

This commit is contained in:
Junegunn Choi 2019-11-15 17:20:47 +09:00
parent e24299239e
commit d630484eeb
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -1200,7 +1200,7 @@ func parseOptions(opts *Options, allArgs []string) {
opts.Preview.command = ""
case "--preview-window":
parsePreviewWindow(&opts.Preview,
nextString(allArgs, &i, "preview window layout required: [up|down|left|right][:SIZE[%]][:wrap][:hidden]"))
nextString(allArgs, &i, "preview window layout required: [up|down|left|right][:SIZE[%]][:noborder][:wrap][:hidden]"))
case "--height":
opts.Height = parseHeight(nextString(allArgs, &i, "height required: HEIGHT[%]"))
case "--min-height":