From d53cc65a1205f2a1b5a9706441504a993a06aa8f Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 17 Apr 2000 16:16:10 +0000 Subject: 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 --- shell/lash.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'shell') 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) fprintf(stdout, "\n\nBusyBox v%s (%s) Built-in shell\n", BB_VER, BB_BT); fprintf(stdout, "Enter 'help' for a list of built-in commands.\n\n"); } else { + if (*argv[1]=='-') { + usage("sh\n\nlash -- the BusyBox LAme SHell (command interpreter)\n"); + } input = fopen(argv[1], "r"); if (!input) { - fatalError("A: Couldn't open file '%s': %s\n", argv[1], + fatalError("sh: Couldn't open file '%s': %s\n", argv[1], strerror(errno)); } } -- cgit v1.2.3-55-g6feb