+/* vi: set sw=4 ts=4: */
/*
* Mini sync implementation for busybox
*
#include "internal.h"
#include <stdio.h>
-extern int
-sync_main(int argc, char * * argv)
+extern int sync_main(int argc, char **argv)
{
- if ( argc>1 && **(argv+1) == '-' ) {
- usage( "sync\nWrite all buffered filesystem blocks to disk.\n");
- }
- exit( sync());
+ if (argc > 1 && **(argv + 1) == '-') {
+ usage("sync\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nWrite all buffered filesystem blocks to disk.\n"
+#endif
+ );
+ }
+ exit(sync());
}
-