diff options
author | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
---|---|---|
committer | kraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-07-16 20:57:15 +0000 |
commit | d353f773bab8c0f92e149a74400aa31b57da9d05 (patch) | |
tree | e8c416c791c690f661c513340662e4e98ff3464a /update.c | |
parent | 3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff) | |
download | busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2 busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip |
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'update.c')
-rw-r--r-- | update.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -34,18 +34,6 @@ | |||
34 | static _syscall2(int, bdflush, int, func, int, data); | 34 | static _syscall2(int, bdflush, int, func, int, data); |
35 | #endif /* __GLIBC__ */ | 35 | #endif /* __GLIBC__ */ |
36 | 36 | ||
37 | |||
38 | static char update_usage[] = | ||
39 | "update [options]\n" | ||
40 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
41 | "\nPeriodically flushes filesystem buffers.\n\n" | ||
42 | "Options:\n" | ||
43 | "\t-S\tforce use of sync(2) instead of flushing\n" | ||
44 | "\t-s SECS\tcall sync this often (default 30)\n" | ||
45 | "\t-f SECS\tflush some buffers this often (default 5)\n" | ||
46 | #endif | ||
47 | ; | ||
48 | |||
49 | static unsigned int sync_duration = 30; | 37 | static unsigned int sync_duration = 30; |
50 | static unsigned int flush_duration = 5; | 38 | static unsigned int flush_duration = 5; |
51 | static int use_sync = 0; | 39 | static int use_sync = 0; |