Skip to content

Commit eaa12fd

Browse files
committed
Added CLI option documentation
As required by #4
1 parent a4508fd commit eaa12fd

1 file changed

Lines changed: 24 additions & 3 deletions

File tree

README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Follow these steps to setup XIVStats-Gatherer-Java:
3434
server instance (if you have not already done so).
3535
2. Setup a database to store the program data in:
3636
```sql
37-
37+
3838
CREATE DATABASE dbplayers;
3939
```
4040
3. Create a user for the program to use to connect to the database.
@@ -65,8 +65,29 @@ Follow these steps to setup XIVStats-Gatherer-Java:
6565
```shell
6666
java -jar XIVStats-Gatherer-Java.jar -s {lowest character id to fetch} -f {highest character id to fetch}
6767
```
68-
Further command line options can be used, to view a list run the jar command with -h option.
69-
68+
The application can be run with the following command line options/args:
69+
70+
| Short option | Long option | Argument type | Description |
71+
|:------------:|:---------------------:|:--------------:|:---------------------------------------------------------:|
72+
|-b |--do-not-store-progress| none | do not store boolean data indicating player progress |
73+
|-d | --database | String | database name |
74+
|-f | --finish | integer | the character id to conclude character run at (inclusive) |
75+
|-F | --print-failures | none | print records that don't exist |
76+
|-h | --help | none | display help message |
77+
|-m | --store-mounts | none | store mount data set for each player into the database |
78+
|-P | --store-minions | none | store minion data set for each player into the database |
79+
|-p | --password | String | database user password |
80+
|-q | --quiet | none | run program in quiet mode - no console output |
81+
|-s | --start | integer | the character id to start from (inclusive) |
82+
|-S | --split-table | none | split table into several small tables |
83+
|-t | --threads | integer | number of gatherer thrads to running |
84+
|-T | --table | String | the table to write records to |
85+
|-u | --user | String | database user |
86+
|-U | --url | String | the database URL of the database server to connect to |
87+
|-v | --verbose | none | run program in verbose mode - full console output |
88+
|-x | --suffix | String | suffix to append to all tables generated |
89+
90+
7091
Note: On Linux/Unix it is advised to run the program in Tmux/Screen or similar.
7192

7293
## Bugs and feature requests

0 commit comments

Comments
 (0)