Files
fish-shell/tests/test_functions/__fish_print_help.fish
Fabian Boehm 6627d403d3 tests: Override __fish_print_help
This effectively disables "--help", replacing it with just a stand-in
string.

The upshot is that it makes the test suite immune to whether or not it
can find the documentation - until now it needed to *not* find it,
which is weird.

(also it saves some useless lines)

Fixes #11270
2025-03-13 18:13:10 +01:00

5 lines
81 B
Fish

function __fish_print_help
echo Documentation for $argv >&2
return 1
end