Skip to content
Myr

Update error message for --preview-window

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent e242992 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/options.go+1 added-1 removed
1198 unmodified lines
1199 case "--no-preview":1200 opts.Preview.command = ""1201 case "--preview-window":1202 parsePreviewWindow(&opts.Preview,1203 nextString(allArgs, &i, "preview window layout required: [up|down|left|right][:SIZE[%]][:wrap][:hidden]"))1203 nextString(allArgs, &i, "preview window layout required: [up|down|left|right][:SIZE[%]][:noborder][:wrap][:hidden]"))1204 case "--height":1205 opts.Height = parseHeight(nextString(allArgs, &i, "height required: HEIGHT[%]"))1206 case "--min-height":1207 opts.MinHeight = nextInt(allArgs, &i, "height required: HEIGHT")
167 unmodified lines