summaryrefslogtreecommitdiff
path: root/doc/tofi.5.md
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2023-05-14 19:01:28 +0100
committerPhil Jones <philj56@gmail.com>2023-05-14 19:03:44 +0100
commit6060daaee163918f97af4db09bba9a7f9272d6c1 (patch)
tree853139b0373c3673fd7b50cc684f46f0f852b692 /doc/tofi.5.md
parentdcc12cb8845e52943fbc6d42ec86f3b0acf80b76 (diff)
Add --print-index option.
Diffstat (limited to 'doc/tofi.5.md')
-rw-r--r--doc/tofi.5.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/tofi.5.md b/doc/tofi.5.md
index dfef45a..3656143 100644
--- a/doc/tofi.5.md
+++ b/doc/tofi.5.md
@@ -117,6 +117,15 @@ options.
>
> Default: \*
+**print-index**=*true\|false*
+
+> Instead of printing the selected entry, print the 1-based index of the
+> selection. This option has no effect in run or drun mode. If
+> **require-match** is set to false, non-matching input will still
+> result in the input being printed.
+>
+> Default: false
+
**drun-launch**=*true\|false*
> If true, directly launch applications on selection when in drun mode.