shithub: 9pro

Download patch

ref: 35776c80cfe58912aeb924221a4d1a73e8ea4f7a
parent: 620324cd3f28fe13dc36442aa5763953d44ef898
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Jan 17 15:59:11 EST 2021

9gc: add the option to getopt call

--- a/9gc.c
+++ b/9gc.c
@@ -399,7 +399,7 @@
 
 	parg_init(&ps);
 	noecho = 0;
-	while ((c = parg_getopt(&ps, argc, argv, "hjed")) >= 0) {
+	while ((c = parg_getopt(&ps, argc, argv, "hjedc:")) >= 0) {
 		switch (c) {
 		case 1:
 			if (nick != NULL) {