#include "resources/fegetopt.h"
#include "Singular/feOptTab.h"
#include "Singular/feOpt.inc"
Go to the source code of this file.
◆ feGetOptIndex() [1/2]
Definition at line 104 of file feOpt.cc.
105{
107
109 {
113 }
115}
EXTERN_VAR struct fe_option feOptSpec[]
int name
New type name for int.
◆ feGetOptIndex() [2/2]
Definition at line 117 of file feOpt.cc.
118{
120
122
124 {
128 }
130}
#define LONG_OPTION_RETURN
◆ feOptDumpVersionTuple()
◆ feOptHelp()
Definition at line 379 of file feOpt.cc.
380{
383#if defined(ESINGULAR)
384 printf(
"ESingular starts up Singular within emacs;\n");
385#elif defined(TSINGULAR)
386 printf(
"TSingular starts up Singular within a terminal window;\n");
387#endif
388 printf(
"Singular is a Computer Algebra System (CAS) for Polynomial Computations.\n");
389 printf(
"Usage: %s [options] [file1 [file2 ...]]\n",
name);
391
393 {
398 )
399 {
401 {
404 else
406
407 printf(
" %c%c --%-20s %s\n",
412 }
413 else
414 {
415 printf(
" %c%c --%-20s %s\n",
420 }
421 }
423 }
424
425 printf(
"\nFor more information, type `help;' from within Singular or visit\n");
426 printf(
"https://www.singular.uni-kl.de or consult the\n");
427 printf(
"Singular manual (available as on-line info or html manual).\n");
428}
◆ feOptValue() [1/3]
◆ feOptValue() [2/3]
◆ feOptValue() [3/3]
Definition at line 54 of file feOpt.h.
55{
57 {
60 }
61 *val = 0;
63}
◆ fePrintOptValues()
void fePrintOptValues |
( |
| ) |
|
Definition at line 344 of file feOpt.cc.
345{
347
349 {
354 )
355 {
357 {
359 {
361 }
362 else
363 {
365 }
366 }
367 else
368 {
370 }
371 }
373 }
374}
◆ feSetOptValue() [1/2]
Definition at line 154 of file feOpt.cc.
155{
157
159 {
161 {
163 {
166 if (
errno)
return "invalid integer argument";
167 }
168 else
169 {
171 }
172 }
173 else
174 {
180 else
183 }
184 }
186}
static const char * feOptAction(feOptIndex opt)
◆ feSetOptValue() [2/2]
Definition at line 188 of file feOpt.cc.
189{
191
193 {
195 return "option value needs to be an integer";
196
198 }
200}
◆ feOptSpec
◆ SHORT_OPTS_STRING