[hackers] [sbase][ed] Fix prompt option

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Mon, 14 Dec 2015 01:47:20 +0100

Do not forget to toggle on the prompt when requested.
---
 ed.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/ed.c b/ed.c
index 200bd1d..89ecac6 100644
--- a/ed.c
+++ b/ed.c
_AT_@ -1222,6 +1222,7 @@ main(int argc, char *argv[])
 				if (!*++argv)
 					usage();
 				prompt = *argv;
+				optprompt = 1;
 				break;
 			default:
 				usage();
-- 
2.6.4
Received on Mon Dec 14 2015 - 01:47:20 CET

This archive was generated by hypermail 2.3.0 : Mon Dec 14 2015 - 01:48:15 CET