mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 06:56:09 +08:00
__fish_print_help: remove indent
Do this lame replacement in order to make some_builtin --help output less tacky.
This commit is contained in:
parent
f309ae05b6
commit
9d84b45256
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user