__fish_print_help: remove indent

Do this lame replacement in order to make some_builtin --help
output less tacky.
This commit is contained in:
Aaron Gyes 2019-04-21 02:04:45 -07:00
parent f309ae05b6
commit 9d84b45256

View File

@ -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