Add missing --list-border=* parser

Patch suggested by @bitraid
This commit is contained in:
Junegunn Choi 2024-12-31 19:39:46 +09:00
parent 9a2b7f559c
commit fd513f8af8
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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 {