Skip to content

Commit

Permalink
README: update examples to use --qtrim
Browse files Browse the repository at this point in the history
  • Loading branch information
bagder committed Sep 13, 2024
1 parent be82c13 commit 083851c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ $ trurl "https://fake.host/hello#frag" --set user=::moo:: --json
**Remove tracking tuples from query:**

```text
$ trurl "https://curl.se?search=hey&utm_source=tracker" --trim query="utm_*"
$ trurl "https://curl.se?search=hey&utm_source=tracker" --qtrim "utm_*"
https://curl.se/?search=hey
```

Expand All @@ -114,7 +114,7 @@ https://example.com?a=c&b=a&c=b
**Work with a query that uses a semicolon separator:**

```text
$ trurl "https://curl.se?search=fool;page=5" --trim query="search" --query-separator ";"
$ trurl "https://curl.se?search=fool;page=5" --qtrim "search" --query-separator ";"
https://curl.se?page=5
```

Expand Down

0 comments on commit 083851c

Please sign in to comment.