From 9b0f5f015bcd5ba406ab4d4dfe3f8b33c5591a2c Mon Sep 17 00:00:00 2001 From: Maas Lalani Date: Fri, 30 Sep 2022 13:34:21 -0400 Subject: [PATCH] docs(filter): document --no-limit / --limit flag on gum filter --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index dd928ee..b1362fd 100644 --- a/README.md +++ b/README.md @@ -228,6 +228,19 @@ cat flavors.text | gum filter > selection.text Shell running gum filter on different bubble gum flavors +You can also select multiple items with the `--limit` flag, which determines +the maximum number of items that can be chosen. + +```bash +cat flavors.text | gum filter --limit 2 +``` + +Or, allow any number of selections with the `--no-limit` flag. + +```bash +cat flavors.text | gum filter --no-limit +``` + #### Choose Choose an option from a list of choices.