Skip to content

Commit

Permalink
Updated readme accordingly. Also update how to parse ip and port to c…
Browse files Browse the repository at this point in the history
…orrespond to the code
  • Loading branch information
JWillegers committed Nov 28, 2023
1 parent 755541d commit ac52f97
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ Finally, you can use Gradle to run the application:
### Program Arguments
The program accepts a few program arguments:
```
-active if the application should start in active mode instead of passive [default = passive]
-nogc turn off the connection to the Game Controller, used for testing without the Game Controller
-cli run in headless mode
-gpip=<value>,--gc-ip=<value> the IP on which the application tries to connect to the Game Controller [default = 127.0.0.1]
-gcp=<value>,--gc-port=<value> the port on which the application tries to connect to the Game Controller [default = 10007]
-wip=<value>,--world-ip=<value> the IP on which the application tries to connect to the RoboTeam World Observer to [default = 127.0.0.1]
-wp=<value>,--world-port=<value> the port on which the application tries to connect to the RoboTeam World Observer to [default = 5558]
-gpip <value>,--gc-ip <value> the IP on which the application tries to connect to the Game Controller [default = 127.0.0.1]
-gcp <value>,--gc-port <value> the port on which the application tries to connect to the Game Controller [default = 10007]
-wip <value>,--world-ip <value> the IP on which the application tries to connect to the RoboTeam World Observer to [default = 127.0.0.1]
-wp <value>,--world-port <value> the port on which the application tries to connect to the RoboTeam World Observer to [default = 5558]
```

When running using gradle, these arguments can be specified in the following way:
```bash
./gradlew run --args="-active"
./gradlew run --args="-cli -gcp 8642"
```

## Rules
Expand Down

0 comments on commit ac52f97

Please sign in to comment.