Merge pull request #730 from peco/docs-exit0-selectall

docs: document --exit-0 and --select-all CLI flags
This commit is contained in:
lestrrat 2026-02-19 21:55:45 +09:00 committed by GitHub
commit e809133abe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -394,6 +394,14 @@ When specified *and* the input contains exactly 1 line, peco skips prompting you
If there are multiple lines in the input, the usual selection view is displayed.
### --exit-0
When specified and the input is empty (zero lines), peco exits immediately with status 1 without displaying the selection view.
### --select-all
When specified, peco selects all input lines and immediately exits without displaying the selection view.
### --on-cancel `success|error`
Specifies the exit status to use when the user cancels the query execution.