aboutsummaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-04-15 16:34:54 +0000
committerErik Andersen <andersen@codepoet.org>2000-04-15 16:34:54 +0000
commit5e1189e187f6a7957dadb8eda2c271c4a0777a23 (patch)
tree140cd30d77342c730afbc1df863bec93c63978a8 /coreutils/test.c
parent95c1c1e05f290ccbcc2ff863a62bcee5d57bf5c8 (diff)
downloadbusybox-w32-5e1189e187f6a7957dadb8eda2c271c4a0777a23.tar.gz
busybox-w32-5e1189e187f6a7957dadb8eda2c271c4a0777a23.tar.bz2
busybox-w32-5e1189e187f6a7957dadb8eda2c271c4a0777a23.zip
More documentation updates, and minor fixes to make things sync
up with the docs. -Erik
Diffstat (limited to 'coreutils/test.c')
-rw-r--r--coreutils/test.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index 85d06a83a..0ed777194 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -1,6 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * echo implementation for busybox 3 * test implementation for busybox
4 * 4 *
5 * Copyright (c) by a whole pile of folks: 5 * Copyright (c) by a whole pile of folks:
6 * 6 *
@@ -185,6 +185,12 @@ test_main(int argc, char** argv)
185 fatalError("missing ]"); 185 fatalError("missing ]");
186 argv[argc] = NULL; 186 argv[argc] = NULL;
187 } 187 }
188 if (strcmp(argv[1], "--help") == 0) {
189 usage("test EXPRESSION\n"
190 "or [ EXPRESSION ]\n\n"
191 "Checks file types and compares values returning an exit\n"
192 "code determined by the value of EXPRESSION.\n");
193 }
188 194
189 /* Implement special cases from POSIX.2, section 4.62.4 */ 195 /* Implement special cases from POSIX.2, section 4.62.4 */
190 switch (argc) { 196 switch (argc) {