From fd513f8af8191cd60364497f4184b8accd988282 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 31 Dec 2024 19:39:46 +0900 Subject: [PATCH] Add missing --list-border=* parser Patch suggested by @bitraid --- src/options.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/options.go b/src/options.go index bc0ddeb3c33..40a2a2e3503 100644 --- a/src/options.go +++ b/src/options.go @@ -2637,6 +2637,10 @@ func parseOptions(index *int, opts *Options, allArgs []string) error { if opts.BorderShape, err = parseBorder(value, false); err != nil { return err } + } else if match, value := optString(arg, "--list-border="); match { + if opts.ListBorderShape, err = parseBorder(value, false); err != nil { + return err + } } else if match, value := optString(arg, "--list-label="); match { opts.ListLabel.label = value } else if match, value := optString(arg, "--list-label-pos="); match {