Update usage.md

Move the `-and` option after two or more tags instead of in-between. Using this option in-between tags does not work if the jrnl file name is not `default`.
This commit is contained in:
Jimmy Hess 2020-08-24 11:51:18 -04:00 committed by GitHub
parent 5cb8ea2886
commit 9725b464bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -140,7 +140,7 @@ displays all entries in which either `@pinkie` or `@WorldDomination`
occurred. Tag filters can be combined with other filters: occurred. Tag filters can be combined with other filters:
```sh ```sh
jrnl -n 5 @pinkie -and @WorldDomination jrnl -n 5 @pinkie @WorldDomination -and
``` ```
displays the last five entries containing _both_ `@pinkie` _and_ displays the last five entries containing _both_ `@pinkie` _and_
@ -169,7 +169,7 @@ editor configured in your configuration file. You can also edit only the entries
that match specific search criteria. For example, that match specific search criteria. For example,
```sh ```sh
jrnl -until 1950 @texas -and @history --edit jrnl -until 1950 @texas @history -and --edit
``` ```
opens your external editor displaying all entries tagged with `@texas` and opens your external editor displaying all entries tagged with `@texas` and