synk

synchronize files between hosts
Log | Files | Refs | README | LICENSE

commit ae21e085a572875e7e01381047853252d65ac663
parent e872191ae4694a75d961467620784755eae1d160
Author: Willy <willyatmailoodotorg>
Date:   Sat Sep  3 23:59:55 +0200

Add a -q(uiet) mode to kill error messages

Diffstat:
synk.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/synk.c b/synk.c @@ -90,7 +90,7 @@ int verbose = LOG_ERROR; void usage(char *name) { - fprintf(stderr, "usage: %s [-vs] [-p PORT] -h HOST [FILE..]\n", name), + fprintf(stderr, "usage: %s [-qvs] [-p PORT] -h HOST [FILE..]\n", name), exit(1); } @@ -566,6 +566,7 @@ main(int argc, char *argv[]) case 'p': port = atoi(EARGF(usage(argv0))); break; case 's': mode = SYNK_SERVER; break; case 'v': verbose++; break; + case 'q': verbose = LOG_NONE; break; }ARGEND; if (hostname == NULL)