#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.
char name(const Variable &v)
EXTERN_VAR struct fe_option feOptSpec[]
◆ feGetOptIndex() [2/2]
Definition at line 117 of file feOpt.cc.
#define LONG_OPTION_RETURN
◆ feOptDumpVersionTuple()
void feOptDumpVersionTuple |
( |
void |
| ) |
|
◆ feOptHelp()
void feOptHelp |
( |
const char * |
name | ) |
|
Definition at line 372 of file feOpt.cc.
376 #if defined(ESINGULAR)
377 printf(
"ESingular starts up Singular within emacs;\n");
378 #elif defined(TSINGULAR)
379 printf(
"TSingular starts up Singular within a terminal window;\n");
381 printf(
"Singular is a Computer Algebra System (CAS) for Polynomial Computations.\n");
382 printf(
"Usage: %s [options] [file1 [file2 ...]]\n",
name);
383 printf(
"Options:\n");
400 printf(
" %c%c --%-20s %s\n",
408 printf(
" %c%c --%-20s %s\n",
418 printf(
"\nFor more information, type `help;' from within Singular or visit\n");
419 printf(
"https://www.singular.uni-kl.de or consult the\n");
420 printf(
"Singular manual (available as on-line info or html manual).\n");
◆ feOptValue() [1/3]
◆ feOptValue() [2/3]
◆ feOptValue() [3/3]
Definition at line 54 of file feOpt.h.
58 *val = (int) ((
long)(
feOptSpec[(int)opt].value));
◆ fePrintOptValues()
void fePrintOptValues |
( |
| ) |
|
◆ feSetOptValue() [1/2]
Definition at line 154 of file feOpt.cc.
166 if (errno)
return "invalid integer argument";
static const char * feOptAction(feOptIndex opt)
◆ feSetOptValue() [2/2]
Definition at line 188 of file feOpt.cc.
195 return "option value needs to be an integer";
◆ feOptSpec
◆ SHORT_OPTS_STRING
const char SHORT_OPTS_STRING[] |
|
extern |