diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-12 19:41:47 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-12 19:41:47 +0000 |
commit | 7ab9c7ee52db8759d457819f5480378fa3aa97cc (patch) | |
tree | 37ef0fb8b142a4925b866c7caa5207b71b4ecae6 /umount.c | |
parent | 3d427ac5efd249dc25dd03deb30520335f68911a (diff) | |
download | busybox-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 'umount.c')
-rw-r--r-- | umount.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -30,8 +30,10 @@ | |||
30 | 30 | ||
31 | 31 | ||
32 | static const char umount_usage[] = | 32 | static const char umount_usage[] = |
33 | "umount [flags] filesystem|directory\n\n" | 33 | "umount [flags] filesystem|directory\n" |
34 | "Flags:\n" "\t-a:\tUnmount all file systems" | 34 | #ifndef BB_FEATURE_TRIVIAL_HELP |
35 | "Unmount file systems\n" | ||
36 | "\nFlags:\n" "\t-a:\tUnmount all file systems" | ||
35 | #ifdef BB_MTAB | 37 | #ifdef BB_MTAB |
36 | " in /etc/mtab\n\t-n:\tDon't erase /etc/mtab entries\n" | 38 | " in /etc/mtab\n\t-n:\tDon't erase /etc/mtab entries\n" |
37 | #else | 39 | #else |
@@ -44,6 +46,7 @@ static const char umount_usage[] = | |||
44 | #if defined BB_FEATURE_MOUNT_LOOP | 46 | #if defined BB_FEATURE_MOUNT_LOOP |
45 | "\t-l:\tDo not free loop device (if a loop device has been used)\n" | 47 | "\t-l:\tDo not free loop device (if a loop device has been used)\n" |
46 | #endif | 48 | #endif |
49 | #endif | ||
47 | ; | 50 | ; |
48 | 51 | ||
49 | struct _mtab_entry_t { | 52 | struct _mtab_entry_t { |