aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.cpp
diff options
context:
space:
mode:
authorGravatar Kevin Ballard <kevin@sb.org>2014-09-21 23:48:47 -0700
committerGravatar Kevin Ballard <kevin@sb.org>2014-09-21 23:49:14 -0700
commitcb40507b7bc2a88d49af1bdcbbd092f97ae7aa69 (patch)
tree655dbefce7986f0489e72f1e9251be6d6d11ee0e /builtin.cpp
parent7d7a636f2497dae736c7dc7b2378a7d51e28fd92 (diff)
Don't suppress output for `printf --help`
Fixes #746.
Diffstat (limited to 'builtin.cpp')
-rw-r--r--builtin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin.cpp b/builtin.cpp
index 36be7e9b..98ae9f63 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -4018,7 +4018,7 @@ static int internal_help(const wchar_t *cmd)
{
CHECK(cmd, 0);
return contains(cmd, L"for", L"while", L"function",
- L"if", L"end", L"switch", L"case", L"count");
+ L"if", L"end", L"switch", L"case", L"count", L"printf");
}