Skip to content

Commit

Permalink
Add missing --list-border=* parser
Browse files Browse the repository at this point in the history
Patch suggested by @bitraid
  • Loading branch information
junegunn committed Dec 31, 2024
1 parent 9a2b7f5 commit fd513f8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit fd513f8

Please sign in to comment.