summaryrefslogtreecommitdiff
path: root/miscutils/update.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /miscutils/update.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'miscutils/update.c')
-rw-r--r--miscutils/update.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/miscutils/update.c b/miscutils/update.c
index f943461..0bdc90e 100644
--- a/miscutils/update.c
+++ b/miscutils/update.c
@@ -34,18 +34,6 @@
static _syscall2(int, bdflush, int, func, int, data);
#endif /* __GLIBC__ */
-
-static char update_usage[] =
- "update [options]\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nPeriodically flushes filesystem buffers.\n\n"
- "Options:\n"
- "\t-S\tforce use of sync(2) instead of flushing\n"
- "\t-s SECS\tcall sync this often (default 30)\n"
- "\t-f SECS\tflush some buffers this often (default 5)\n"
-#endif
- ;
-
static unsigned int sync_duration = 30;
static unsigned int flush_duration = 5;
static int use_sync = 0;