shithub: clone

Download patch

ref: ff6928970da9a3219cffad31454d98807065ee46
parent: 5411f4b83fe1cb0418ed11ae67c988fe8eaec213
author: kvik <kvik@a-b.xyz>
date: Tue Oct 30 21:45:22 EDT 2018

update usage

--- a/clone.c
+++ b/clone.c
@@ -38,7 +38,6 @@
 Channel *endchan; /* chan(ulong) */
 
 void usage(void);
-void sysfatal(char*, ...);
 void *emalloc(ulong);
 char *estrdup(char*);
 
@@ -58,7 +57,7 @@
 void
 usage(void)
 {
-	fprint(2, "%s src dst\n", argv0);
+	fprint(2, "usage: %s [-gux] [-b blocksize] [-p fileprocs:blockprocs] from ... to\n", argv0);
 	sysfatal("usage");
 }