X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fprompter.c;h=fd10aca29fb273277cb31ec1ddd346addafe91b4;hp=fa1bfae8ec5f807c4ef90517dd61d65b0df710b2;hb=4885712264980e6cbc2039f9158027bee9213475;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/uip/prompter.c b/uip/prompter.c index fa1bfae..fd10aca 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -3,6 +3,10 @@ * prompter.c -- simple prompting editor front-end * * $Id$ + * + * This code is Copyright (c) 2002, by the authors of nmh. See the + * COPYRIGHT file in the root directory of the nmh distribution for + * complete copyright information. */ #include @@ -56,11 +60,10 @@ static struct swit switches[] = { #define VERSIONSW 10 { "version", 0 }, #define HELPSW 11 - { "help", 4 }, + { "help", 0 }, { NULL, 0 } }; -extern int errno; #ifdef HAVE_TERMIOS_H static struct termios tio; @@ -397,7 +400,7 @@ no_body: unlink (tmpfil); context_save (); /* save the context file */ - done (0); + return done (0); }