summaryrefslogtreecommitdiff
path: root/mkfs_minix.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-05-12 19:41:47 +0000
committerErik Andersen <andersen@codepoet.org>2000-05-12 19:41:47 +0000
commit7ab9c7ee52db8759d457819f5480378fa3aa97cc (patch)
tree37ef0fb8b142a4925b866c7caa5207b71b4ecae6 /mkfs_minix.c
parent3d427ac5efd249dc25dd03deb30520335f68911a (diff)
downloadbusybox-w32-7ab9c7ee52db8759d457819f5480378fa3aa97cc.tar.gz
busybox-w32-7ab9c7ee52db8759d457819f5480378fa3aa97cc.tar.bz2
busybox-w32-7ab9c7ee52db8759d457819f5480378fa3aa97cc.zip
Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
which lets you compile out most of the "--help" output, saving up to 17k. Renamed mnc to nc. -Erik
Diffstat (limited to 'mkfs_minix.c')
-rw-r--r--mkfs_minix.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mkfs_minix.c b/mkfs_minix.c
index be180a46b..bf4bda9fd 100644
--- a/mkfs_minix.c
+++ b/mkfs_minix.c
@@ -179,9 +179,10 @@ static volatile void show_usage()
179 fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n", 179 fprintf(stderr, "BusyBox v%s (%s) multi-call binary -- GPL2\n\n",
180 BB_VER, BB_BT); 180 BB_VER, BB_BT);
181 fprintf(stderr, 181 fprintf(stderr,
182 "Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]\n\n", 182 "Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]\n",
183 program_name); 183 program_name);
184 fprintf(stderr, "Make a MINIX filesystem.\n\n"); 184#ifndef BB_FEATURE_TRIVIAL_HELP
185 fprintf(stderr, "\nMake a MINIX filesystem.\n\n");
185 fprintf(stderr, "OPTIONS:\n"); 186 fprintf(stderr, "OPTIONS:\n");
186 fprintf(stderr, "\t-c\t\tCheck the device for bad blocks\n"); 187 fprintf(stderr, "\t-c\t\tCheck the device for bad blocks\n");
187 fprintf(stderr, 188 fprintf(stderr,
@@ -191,6 +192,7 @@ static volatile void show_usage()
191 fprintf(stderr, 192 fprintf(stderr,
192 "\t-l FILENAME\tRead the bad blocks list from FILENAME\n"); 193 "\t-l FILENAME\tRead the bad blocks list from FILENAME\n");
193 fprintf(stderr, "\t-v\t\tMake a Minix version 2 filesystem\n\n"); 194 fprintf(stderr, "\t-v\t\tMake a Minix version 2 filesystem\n\n");
195#endif
194 exit(16); 196 exit(16);
195} 197}
196 198