aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-17 16:16:10 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-17 16:16:10 +0000
commitd53cc65a1205f2a1b5a9706441504a993a06aa8f (patch)
treeafe963cde5e3882b8785c963d7d1ec07d458a85a /shell
parent20d662d561d8d642b825bb00c77638af010cf690 (diff)
downloadbusybox-w32-d53cc65a1205f2a1b5a9706441504a993a06aa8f.tar.gz
busybox-w32-d53cc65a1205f2a1b5a9706441504a993a06aa8f.tar.bz2
busybox-w32-d53cc65a1205f2a1b5a9706441504a993a06aa8f.zip
More updates to the docs, and fixes to sync things with the docs.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@467 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r--shell/lash.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/lash.c b/shell/lash.c
index 44ffe968f..bd95ba761 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -961,9 +961,12 @@ int shell_main(int argc, char **argv)
961 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); 961 fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT);
962 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); 962 fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n");
963 } else { 963 } else {
964 if (*argv[1]=='-') {
965 usage("sh\n\nlash -- the BusyBox LAme SHell (command interpreter)\n");
966 }
964 input = fopen(argv[1], "r"); 967 input = fopen(argv[1], "r");
965 if (!input) { 968 if (!input) {
966 fatalError("A: Couldn't open file '%s': %s\n", argv[1], 969 fatalError("sh: Couldn't open file '%s': %s\n", argv[1],
967 strerror(errno)); 970 strerror(errno));
968 } 971 }
969 } 972 }