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

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

[Octave-bug-tracker] [bug #49383] Command-line options counted as as inp


From: Atri Bhattacharya
Subject: [Octave-bug-tracker] [bug #49383] Command-line options counted as as input arguments when started as an application but not when running scripts
Date: Tue, 18 Oct 2016 22:27:12 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0

Follow-up Comment #1, bug #49383 (project octave):

Sorry, my original discussion got mangled by markup formatting. Here is the
latter part of my description:

The results for the various different ways of invoking octave to run mytest.m
is as follows:



1. > ./mytest.m
   > 0
2. > octave -q --no-gui -f mytest.m
   > 0
3. > octave-cli -q --no-gui
   octave:1> mytest
    2
   octave:2>



and so on. In the third case, both the '-q' and '--no-gui' are counted as
inputs and end up incrementing nargin. When directly running the script, the
command-line args are not counted as such.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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