9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] [PATCH] disk/mkext arg parsing
@ 2022-08-01 17:08 B. Atticus Grobe
  0 siblings, 0 replies; only message in thread
From: B. Atticus Grobe @ 2022-08-01 17:08 UTC (permalink / raw)
  To: 9front

diff 30dcf55ee221b986aee6d428b4da431f6174c66b uncommitted
--- a/sys/src/cmd/disk/mkext.c
+++ b/sys/src/cmd/disk/mkext.c
@@ -39,7 +39,7 @@
 	namep = name;
 	ARGBEGIN{
 	case 'd':
-		p = ARGF();
+		p = EARGF(usage());
 		if(strlen(p) >= LEN)
 			error("destination fs name too long\n");
 		strcpy(name, p);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-01 17:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-01 17:08 [9front] [PATCH] disk/mkext arg parsing B. Atticus Grobe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).