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

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

[Octave-bug-tracker] [bug #31423] octave exit status incorrect from unre


From: anonymous
Subject: [Octave-bug-tracker] [bug #31423] octave exit status incorrect from unrecognized option
Date: Fri, 22 Oct 2010 23:55:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101013 Ubuntu/10.10 (maverick) Firefox/3.6.11

URL:
  <http://savannah.gnu.org/bugs/?31423>

                 Summary: octave exit status incorrect from unrecognized
option
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 22 Oct 2010 11:55:44 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Steve Ward
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.2.4
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When an unrecognized option is given, octave exits with exit status zero
rather than non-zero.


Example:

$ octave --bad-option > /dev/null
octave: unrecognized option '--bad-option'

$ echo $?
0


Expected results:

$ echo $?
1




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31423>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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