bugGNU Octave - Bugs: bug #51461, octave -Wq doesn't work correctly

 
 

bug #51461: octave -Wq doesn't work correctly

Submitter:  Mike Miller <mtmiller>
Submitted:  Thu 13 Jul 2017 06:10:03 PM UTC
   
 
Category:  Interpreter Severity:  2 - Minor
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 17 Jul 2017 07:31:45 PM UTC, comment #1: 
Mike Miller <mtmiller>
Group Member
Thu 13 Jul 2017 06:10:03 PM UTC, original submission:  

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.

Mike Miller <mtmiller>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-17 mtmiller StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code