← Back to team overview

sikuli-driver team mailing list archive

[Bug 1190176] [NEW] [1.0] command line arguments with Sikuli Standard Commandline Option characters (-r, -s, -t, ...) are ignored or give errors

 

Public bug reported:

Hello,

I'm passing command line argument(s) with sys.argv[1:] and for most of
them it works. There were 3-4 args which when used immediately
failed/aborted the Sikuli run, without any error. On analyzing, I
observed that all these arguments are starting with either of "-rxxxx",
"-sxxxx" or "-txxxx".  There appear a conflict with the Sikuli standard
command line arguments (-r, -s, -t) and those I used, although I'm using
a string (e.g. "-report", "-test") rather than a single  character.

The question is, how to pass such arguments that start with standard
command line arguments (-r, -s. -t)?

Thanks.

** Affects: sikuli
     Importance: High
     Assignee: RaiMan (raimund-hocke)
         Status: Fix Committed

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 1.1.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1190176

Title:
  [1.0] command line arguments with Sikuli Standard Commandline Option
  characters (-r, -s, -t, ...) are ignored or give errors

Status in Sikuli:
  Fix Committed

Bug description:
  Hello,

  I'm passing command line argument(s) with sys.argv[1:] and for most of
  them it works. There were 3-4 args which when used immediately
  failed/aborted the Sikuli run, without any error. On analyzing, I
  observed that all these arguments are starting with either of
  "-rxxxx", "-sxxxx" or "-txxxx".  There appear a conflict with the
  Sikuli standard command line arguments (-r, -s, -t) and those I used,
  although I'm using a string (e.g. "-report", "-test") rather than a
  single  character.

  The question is, how to pass such arguments that start with standard
  command line arguments (-r, -s. -t)?

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1190176/+subscriptions


Follow ups

References