mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 03:54:04 +08: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:
parent
c0542727c4
commit
5ca527b2fe
|
@ -206,6 +206,8 @@ def built_command(options, description):
|
|||
else:
|
||||
# No fit
|
||||
break
|
||||
# Strip trailing dots
|
||||
truncated_description = truncated_description.strip(udot)
|
||||
|
||||
# If the first sentence does not fit, truncate if necessary
|
||||
if len(truncated_description) > max_description_width:
|
||||
|
|
Loading…
Reference in New Issue
Block a user