Octave: remove deprecated -global/-noglobal command-line arguments

This commit is contained in:
Karl Wette 2014-05-29 23:42:22 +02:00
commit ecf28da5a9
2 changed files with 4 additions and 7 deletions

View file

@ -5,3 +5,7 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 3.0.2 (in progress)
===========================
2014-04-24: kwwette
[Octave] Remove deprecated -global/-noglobal command-line arguments
*** POTENTIAL INCOMPATIBILITY ***

View file

@ -94,13 +94,6 @@ public:
if (argv[i]) {
if (strcmp(argv[i], "-help") == 0) {
fputs(usage, stdout);
} else if (strcmp(argv[i], "-global") == 0 ||
strcmp(argv[i], "-noglobal") == 0) {
Printv(stderr,
"*** -global/-noglobal are no longer supported\n"
"*** global load behaviour is now determined at module load\n"
"*** see the Perl section in the manual for details.\n", NIL);
SWIG_exit(EXIT_FAILURE);
} else if (strcmp(argv[i], "-globals") == 0) {
if (argv[i + 1]) {
global_name = NewString(argv[i + 1]);