Skip to content

Commit

Permalink
fix: Ammend fzf one-liner example
Browse files Browse the repository at this point in the history
Pass `-n1` to `xargs` in the example else we invoke `portsync`
with the arguments of *all* selected packages in `fzf`, rather
than passing `-o` with each individual package.
  • Loading branch information
lcook committed Sep 17, 2023
1 parent 474dbf0 commit 80ca874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ of available package updates through `fzf`
```sh
portsync fetch -f "%o" | fzf --multi \
--header "Select port(s) to update" --preview "pkg rquery -r FreeBSD '%e' {}" \
--preview-window=up | xargs portsync update -o
--preview-window=up | xargs -n1 portsync update -o
```

Or even be able to output updates in a particular file format, such as JSON
Expand Down

0 comments on commit 80ca874

Please sign in to comment.