octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60886] Command line option '--gui' ignored wh


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60886] Command line option '--gui' ignored when used together with '--path'
Date: Thu, 22 Jul 2021 13:16:12 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36 Edg/91.0.864.71

Follow-up Comment #12, bug #60886 (project octave):

I pushed a patch that removes the impossible(?) case statement here:
https://hg.savannah.gnu.org/hgweb/octave/rev/3583b11e151b

At the moment, `main.cc` still does what you describe.
IIUC, it passes all arguments (minus the ones that were already removed before
the changes here) on to the "actual" program. I was assuming the the
`default:` case would include unrecognized option characters or anything
alike. Is this not the case?

Since `octave-{gui,cli}` will always need to check for errors in their
arguments anyway, there is probably not much point in duplicating those checks
in the wrapper imho. But I might be missing something.

What is still missing to fix the wrapper program to ignore getopt errors?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60886>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]