[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51461] octave -Wq doesn't work correctly
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #51461] octave -Wq doesn't work correctly |
Date: |
Thu, 13 Jul 2017 14:10:05 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
URL:
<http://savannah.gnu.org/bugs/?51461>
Summary: octave -Wq doesn't work correctly
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Thu 13 Jul 2017 11:10:03 AM PDT
Category: Interpreter
Severity: 2 - Minor
Priority: 5 - Normal
Item Group: Documentation
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
Normally calling "octave -Wq" should be the same as calling "octave -W -q".
But because the octave stub program doesn't use getopt, it doesn't handle the
options -W and -q correctly when they are specified together (either as -Wq or
-qW).
And it's not enough to just check for the exact arguments "-Wq" or "-qW",
because these options can also be combined with other options (e.g. "octave
-qfHW"). The most robust solution would be to add getopt support to
main.in.cc.
Another option might be to check for an argument that starts with a single
hyphen and process the following single letter options manually.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51461>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51461] octave -Wq doesn't work correctly,
Mike Miller <=