2013-10-07 17:03:26 +01:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
2013-06-09 15:20:55 +02:00
|
|
|
#include <unistd.h>
|
2014-11-13 18:29:30 +01:00
|
|
|
|
2013-06-09 15:20:55 +02:00
|
|
|
#include "util.h"
|
|
|
|
|
|
|
|
static void
|
|
|
|
usage(void)
|
|
|
|
{
|
|
|
|
eprintf("usage: sync\n");
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
2014-04-18 11:51:18 +01:00
|
|
|
main(int argc, char *argv[])
|
2013-06-09 15:20:55 +02:00
|
|
|
{
|
2015-02-08 22:13:50 +01:00
|
|
|
ARGBEGIN {
|
|
|
|
default:
|
|
|
|
usage();
|
|
|
|
} ARGEND;
|
|
|
|
|
|
|
|
if (argc)
|
2013-06-09 15:20:55 +02:00
|
|
|
usage();
|
|
|
|
sync();
|
|
|
|
|
2014-10-02 23:46:04 +01:00
|
|
|
return 0;
|
2013-06-09 15:20:55 +02:00
|
|
|
}
|