mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
create_manpage_completions: Remove trailing period
Turns out this was on purpose, but we've been telling people to do away with them for quite a while.
This commit is contained in:
@@ -206,6 +206,8 @@ def built_command(options, description):
|
|||||||
else:
|
else:
|
||||||
# No fit
|
# No fit
|
||||||
break
|
break
|
||||||
|
# Strip trailing dots
|
||||||
|
truncated_description = truncated_description.strip(udot)
|
||||||
|
|
||||||
# If the first sentence does not fit, truncate if necessary
|
# If the first sentence does not fit, truncate if necessary
|
||||||
if len(truncated_description) > max_description_width:
|
if len(truncated_description) > max_description_width:
|
||||||
|
|||||||
Reference in New Issue
Block a user