mirror of
https://github.com/nikolassv/bartib
synced 2024-11-10 14:14:12 +00:00
fixed documentation concerning the bartib file
This commit is contained in:
parent
b236850ae0
commit
64177d0c33
1 changed files with 3 additions and 3 deletions
|
@ -150,16 +150,16 @@ cargo build --release
|
|||
|
||||
### How to define in which file to save the log of your activities
|
||||
|
||||
You may either specify the path to your log as an extra parameter (`--file` or `-f`) to your bartib command:
|
||||
You may either specify the absolute path to your log as an extra parameter (`--file` or `-f`) to your bartib command:
|
||||
|
||||
```bash
|
||||
bartib -f ~/activities.bartib report
|
||||
bartib -f /home/username/activities.bartib report
|
||||
```
|
||||
|
||||
Or you may set the environment variable `BARTIB_FILE` to the path of your log. Just add this line to your `.profile` file:
|
||||
|
||||
```bash
|
||||
export BARTIB_FILE="~/activities.bartib"
|
||||
export BARTIB_FILE="/home/username/activities.bartib"
|
||||
```
|
||||
|
||||
If the specified log file does not exist yet Bartib creates it.
|
||||
|
|
Loading…
Reference in a new issue