aboutsummaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
authorerik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-15 16:34:54 +0000
committererik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-04-15 16:34:54 +0000
commita6c674b94b4d2c6732a58760d9086657d884671b (patch)
tree140cd30d77342c730afbc1df863bec93c63978a8 /coreutils/test.c
parentc8ca3c6625e1a3f234c3f0a1ab3142179a3e529f (diff)
downloadbusybox-w32-a6c674b94b4d2c6732a58760d9086657d884671b.tar.gz
busybox-w32-a6c674b94b4d2c6732a58760d9086657d884671b.tar.bz2
busybox-w32-a6c674b94b4d2c6732a58760d9086657d884671b.zip
More documentation updates, and minor fixes to make things sync
up with the docs. -Erik git-svn-id: svn://busybox.net/trunk/busybox@457 69ca8d6d-28ef-0310-b511-8ec308f3f277
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) {