Command completion is not supported, removed from 'help'

This commit is contained in:
Holger Vogt 2025-08-15 14:05:33 +02:00
parent e6427cedc2
commit c8cfd51d60
2 changed files with 4 additions and 7 deletions

View File

@ -26,7 +26,7 @@ ngspice \- circuit simulator derived from SPICE3f5
.SH "DESCRIPTION" .SH "DESCRIPTION"
This man page is just a small overview. This man page is just a small overview.
The primary documentation of ngspice is in the ngspice User's Manual, The primary documentation of ngspice is in the ngspice User's Manual,
which is available as a pdf file. which is available as a pdf or html file.
.SH "OPTIONS" .SH "OPTIONS"
.TP .TP
\fB\-n\fP or \fB\*=no\-spiceinit\fP \fB\-n\fP or \fB\*=no\-spiceinit\fP
@ -34,9 +34,6 @@ Don't try to source the file ".spiceinit" upon startup. Normally ngspice
tries to find the file in the current directory, and if it is not found then tries to find the file in the current directory, and if it is not found then
in the user's home directory. in the user's home directory.
.TP .TP
\fB\-q\fP or \fB\*=completion\fP
Enable command completion. (defect)
.TP
\fB\-t\fP \fIterm\fP or \fB\*=term=\fP\fIterm\fP \fB\-t\fP \fIterm\fP or \fB\*=term=\fP\fIterm\fP
The program is being run on a terminal with \fBmfb\fP name \fIterm\fP. The program is being run on a terminal with \fBmfb\fP name \fIterm\fP.
.TP .TP
@ -148,4 +145,4 @@ Please report bugs to the ngspice project via
.br .br
\fBnutmeg\fP: User interface: Wayne Christopher (faustus@cad.berkeley.edu) \fBnutmeg\fP: User interface: Wayne Christopher (faustus@cad.berkeley.edu)
.br .br
\fBngspice\fP: various authors (see \fBhttp://sourceforge.net/projects/ngspice/\fP) \fBngspice\fP: various authors (see \fBhttps://sourceforge.net/projects/ngspice/\fP)

View File

@ -758,7 +758,6 @@ show_help(void)
" -n, --no-spiceinit don't load the local or user's config file\n" " -n, --no-spiceinit don't load the local or user's config file\n"
" -o, --output=FILE set the outputfile\n" " -o, --output=FILE set the outputfile\n"
" -p, --pipe run in I/O pipe mode\n" " -p, --pipe run in I/O pipe mode\n"
" -q, --completion activate command completion\n"
" -r, --rawfile=FILE set the rawfile output\n" " -r, --rawfile=FILE set the rawfile output\n"
" --soa-log=FILE set the outputfile for SOA warnings\n" " --soa-log=FILE set the outputfile for SOA warnings\n"
" -s, --server run spice as a server process\n" " -s, --server run spice as a server process\n"
@ -1067,7 +1066,8 @@ int main(int argc, char **argv)
break; break;
case 'q': /* Command completion */ case 'q': /* Command completion */
qflag = TRUE; qflag = FALSE;
fprintf(stderr, "Warning: Command completion is not supported, 'q' ignored\n");
break; break;
case 'r': /* The raw file */ case 'r': /* The raw file */