commit 346735a1b782b0c4ce9c056c340e996919d0f21c parent c1fe870e7fa5c1a164a69c2f5aa6b3b2d6fa4d58 Author: Quentin Rameau <quinq@fifth.space> Date: Mon, 14 Dec 2015 01:47:20 +0100 Fix prompt option Do not forget to toggle on the prompt when requested. Diffstat:
M | ed.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ed.c b/ed.c @@ -1341,6 +1341,7 @@ main(int argc, char *argv[]) if (!*++argv) usage(); prompt = *argv; + optprompt = 1; break; default: usage();