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 <holger.vogt@uni-due.de>
This commit is contained in:
parent
a934322dc3
commit
d90b8a7f2d
|
|
@ -10,6 +10,13 @@
|
||||||
#include "com_ghelp.h"
|
#include "com_ghelp.h"
|
||||||
#include "com_help.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
|
void
|
||||||
com_ghelp(wordlist *wl)
|
com_ghelp(wordlist *wl)
|
||||||
{
|
{
|
||||||
|
|
@ -17,11 +24,12 @@ com_ghelp(wordlist *wl)
|
||||||
|
|
||||||
NG_IGNORE(wl);
|
NG_IGNORE(wl);
|
||||||
|
|
||||||
printf("Internal help is no longer avaialable!\n"
|
(void) printf("Internal help is no longer avaialable!\n"
|
||||||
"Please check for the actual ngspice manual at\n"
|
"For the latest official ngspice manual in PDF format, "
|
||||||
" http://ngspice.sourceforge.net/docs/ngspice-manual.pdf\n"
|
"please see\n"
|
||||||
"or for help on spice3 at\n"
|
" http://ngspice.sourceforge.net/docs/ngspice-manual.pdf\n"
|
||||||
" http://newton.ex.ac.uk/teaching/CDHW/Electronics2/userguide/\n");
|
"Or for HTML see\n"
|
||||||
|
" http://ngspice.sourceforge.net/docs/ngspice-html-manual/manual.html\n");
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue