Skip to content

Commit

Permalink
v0.0.3: fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed May 21, 2024
1 parent b1e0659 commit 1884a80
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 @@ -50,9 +50,9 @@ for v in "${keep[@]}"; do
keep_args+=(-e "$v")
done

rtd api "projects/$project/versions?limit=$limit&active=true&built=true"
rtd api "projects/$project/versions?limit=$limit&active=true&built=true" \
| jq -r '.results[] | select(.hidden | not) | .slug' \
| grep "${keep_args[@]}" \
| grep -v "${keep_args[@]}" \
| xargs rtd hide -p $p
```

Expand Down

0 comments on commit 1884a80

Please sign in to comment.