Skip to content

Commit 1aae15e

Browse files
authored
Update docs for where the DB is stored (#63)
1 parent d936c2b commit 1aae15e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ $ sqlite-export-for-ynab
3232

3333
Running it again will pull only the data that changed since the last pull. If you want to wipe the DB and pull all data again use the `--full-refresh` flag.
3434

35-
You can specify the DB path with `--db`. Otherwise, the DB is stored according to the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/latest/index.html).
36-
If `XDG_DATA_HOME` is set then the DB is saved in `"${XDG_DATA_HOME}"/sqlite-export-for-ynab/db.sqlite`.
37-
If not, then the DB is saved in `~/.local/share/sqlite-export-for-ynab/db.sqlite`.
35+
You can specify the DB path with the following options
36+
1. The `--db` flag.
37+
1. The `XDG_DATA_HOME` variable (see the [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/latest/index.html)). In that case the DB is saved in `"${XDG_DATA_HOME}"/sqlite-export-for-ynab/db.sqlite`.
38+
1. If neither is set, the DB is saved in `~/.local/share/sqlite-export-for-ynab/db.sqlite`.
3839

3940
### Library
4041

0 commit comments

Comments
 (0)