From d90b8a7f2dc37f2523d7bf3a29d69646bd50bbd2 Mon Sep 17 00:00:00 2001 From: Jim Monte Date: Sat, 30 Mar 2019 09:30:41 +0100 Subject: [PATCH] One of the links provided when the help command is executed returned a 404 not found error. This patch replaces that link with an HTML version of the ngspice manual. Signed-off-by: Holger Vogt --- src/frontend/com_ghelp.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/src/frontend/com_ghelp.c b/src/frontend/com_ghelp.c index 4fa27ed29..5b427f37d 100644 --- a/src/frontend/com_ghelp.c +++ b/src/frontend/com_ghelp.c @@ -10,6 +10,13 @@ #include "com_ghelp.h" #include "com_help.h" +/* Displays SPICE3 help for commands if that is available or a link to the + * latest manuals otherwise. + * + * For those interested, an HTML source for the SPICE3 manual can be found at + * Internet Archive using the link below. + * https://web.archive.org/web/20180221111839/http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/ + */ void com_ghelp(wordlist *wl) { @@ -17,11 +24,12 @@ com_ghelp(wordlist *wl) NG_IGNORE(wl); - printf("Internal help is no longer avaialable!\n" - "Please check for the actual ngspice manual at\n" - " http://ngspice.sourceforge.net/docs/ngspice-manual.pdf\n" - "or for help on spice3 at\n" - " http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/\n"); + (void) printf("Internal help is no longer avaialable!\n" + "For the latest official ngspice manual in PDF format, " + "please see\n" + " http://ngspice.sourceforge.net/docs/ngspice-manual.pdf\n" + "Or for HTML see\n" + " http://ngspice.sourceforge.net/docs/ngspice-html-manual/manual.html\n"); return; #else