aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/isatty.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/functions/isatty.fish')
-rw-r--r--share/functions/isatty.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/functions/isatty.fish b/share/functions/isatty.fish
index 3a54c6ab..b4c59e29 100644
--- a/share/functions/isatty.fish
+++ b/share/functions/isatty.fish
@@ -5,7 +5,8 @@ function isatty -d "Tests if a file descriptor is a tty"
switch $argv[1]
case -h --h --he --hel --help
- help isatty
+ __fish_print_help isatty
+ return 0
case stdin
set fd 0