aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lash.c2
-rw-r--r--sh.c2
-rw-r--r--shell/lash.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/lash.c b/lash.c
index 836fc9bab..4727e9b46 100644
--- a/lash.c
+++ b/lash.c
@@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l)
strcat(local_pending_command, " ");
}
break;
+#ifdef BB_FEATURE_SH_ENVIRONMENT
case 'x':
showXtrace = TRUE;
break;
+#endif
default:
usage(shell_usage);
}
diff --git a/sh.c b/sh.c
index 836fc9bab..4727e9b46 100644
--- a/sh.c
+++ b/sh.c
@@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l)
strcat(local_pending_command, " ");
}
break;
+#ifdef BB_FEATURE_SH_ENVIRONMENT
case 'x':
showXtrace = TRUE;
break;
+#endif
default:
usage(shell_usage);
}
diff --git a/shell/lash.c b/shell/lash.c
index 836fc9bab..4727e9b46 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l)
strcat(local_pending_command, " ");
}
break;
+#ifdef BB_FEATURE_SH_ENVIRONMENT
case 'x':
showXtrace = TRUE;
break;
+#endif
default:
usage(shell_usage);
}