From f69489a4fcb549938597958311e40adfaa09d14c Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Thu, 21 Jun 2012 16:58:26 -0700 Subject: [PATCH] Mostly fix https://github.com/fish-shell/fish-shell/issues/72 --- builtin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builtin.cpp b/builtin.cpp index 393cb3081..219363b3c 100644 --- a/builtin.cpp +++ b/builtin.cpp @@ -1715,6 +1715,8 @@ static int builtin_function( parser_t &parser, wchar_t **argv ) break; case 'h': + parser.pop_block(); + parser.push_block( FAKE ); builtin_print_help( parser, argv[0], stdout_buffer ); return STATUS_BUILTIN_OK;