Skip to content

Commit

Permalink
FAQ on argparse value with leading minus
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kro committed Mar 13, 2024
1 parent e656cf8 commit 0362110
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/web/docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,12 @@ Under windows these settings must be configured using `regedit` i.e. at the regi
3 compatibility for [sumolib](Tools/Sumolib.md) and
[traci](TraCI/Interfacing_TraCI_from_Python.md) however.

### The tool fails when adding an argument with a leading minus sign

Many of our tools use an argument parser to gather further command line arguments.
As the option names usually start with a leading minus, the parser gets confused whether your input is
an option or the corresponding value. In this case try the `--option=value` syntax.

### tools fail with an ImportError

Make sure to set the environment variable SUMO_HOME to point at the
Expand Down

0 comments on commit 0362110

Please sign in to comment.