synk

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

commit b59800dbb6e6361dfe8e2597b3585450d8763509
parent 91fe72f11a4c218d94a2694ad150ea1ed46edaae
Author: Willy <willyatmailoodotorg>
Date:   Fri Sep  2 01:05:44 +0200

Add verbose flag

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