diff options
author | Ron Yorston <rmy@pobox.com> | 2021-04-09 14:24:50 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-04-09 14:24:50 +0100 |
commit | e957318f5f9c618f8bd98e2aa5d92e80916c4154 (patch) | |
tree | 751ccde707b34635f2639984c825ff914bbec9c7 /libbb | |
parent | ddb2ca1939bb8f51eacc9ec913c46f2e29b2e4d6 (diff) | |
download | busybox-w32-e957318f5f9c618f8bd98e2aa5d92e80916c4154.tar.gz busybox-w32-e957318f5f9c618f8bd98e2aa5d92e80916c4154.tar.bz2 busybox-w32-e957318f5f9c618f8bd98e2aa5d92e80916c4154.zip |
libbb: special case for busybox --help is WIN32-only
Commit 32833bc06 (ash: treat all applets as NOEXEC) added special
treatment for 'busybox --help'. This should only be included for
WIN32 builds.
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/appletlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c index ca71fcb04..193a78e31 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c | |||
@@ -1052,7 +1052,7 @@ void FAST_FUNC show_usage_if_dash_dash_help(int applet_no, char **argv) | |||
1052 | # if defined APPLET_NO_false | 1052 | # if defined APPLET_NO_false |
1053 | && applet_no != APPLET_NO_false | 1053 | && applet_no != APPLET_NO_false |
1054 | # endif | 1054 | # endif |
1055 | # if defined APPLET_NO_busybox | 1055 | # if ENABLE_PLATFORM_MINGW32 && defined APPLET_NO_busybox |
1056 | && applet_no != APPLET_NO_busybox | 1056 | && applet_no != APPLET_NO_busybox |
1057 | # endif | 1057 | # endif |
1058 | ) { | 1058 | ) { |