From 9d84b452561c23ccbf6998b56fb15eb3263ea332 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 21 Apr 2019 02:04:45 -0700 Subject: [PATCH] __fish_print_help: remove indent Do this lame replacement in order to make some_builtin --help output less tacky. --- share/functions/__fish_print_help.fish | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/functions/__fish_print_help.fish b/share/functions/__fish_print_help.fish index ad429a317..fb1022195 100644 --- a/share/functions/__fish_print_help.fish +++ b/share/functions/__fish_print_help.fish @@ -103,6 +103,6 @@ function __fish_print_help --description "Print help message for the specified f # skip it end end - end | ul # post-process with `ul`, to interpret the old-style grotty escapes - echo # print a trailing blank line + end | string replace -ra '^ ' '' | ul # post-process with `ul`, to interpret the old-style grotty escapes + printf '%s'\n $manual[2..-1]; end