Skip to content

Commit

Permalink
Fix typod flag name to re-enable prompt shrinking when -max-width i…
Browse files Browse the repository at this point in the history
…s specified
  • Loading branch information
rpadaki committed Feb 19, 2021
1 parent b2ccf0a commit fb868b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ func main() {
cfg.ModulesRight = strings.Split(*args.ModulesRight, ",")
case "priority":
cfg.Priority = strings.Split(*args.Priority, ",")
case "max-width-percentage":
case "max-width":
cfg.MaxWidthPercentage = *args.MaxWidthPercentage
case "truncate-segment-width":
cfg.TruncateSegmentWidth = *args.TruncateSegmentWidth
Expand Down

0 comments on commit fb868b3

Please sign in to comment.