From 5ca527b2fe731cf1b365faad75e197ff70acf17a Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sat, 25 Apr 2020 11:22:41 +0200 Subject: [PATCH] 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. --- share/tools/create_manpage_completions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/tools/create_manpage_completions.py b/share/tools/create_manpage_completions.py index 0a1e5e9ad..65c0bb4ad 100755 --- a/share/tools/create_manpage_completions.py +++ b/share/tools/create_manpage_completions.py @@ -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: