summaryrefslogtreecommitdiff
path: root/doc/tofi.5.scd
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.scd
parentdcc12cb8845e52943fbc6d42ec86f3b0acf80b76 (diff)
Add --print-index option.
Diffstat (limited to 'doc/tofi.5.scd')
-rw-r--r--doc/tofi.5.scd8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/tofi.5.scd b/doc/tofi.5.scd
index 013dc57..de564c5 100644
--- a/doc/tofi.5.scd
+++ b/doc/tofi.5.scd
@@ -109,6 +109,14 @@ 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.
Otherwise, just print the Exec line of the .desktop file to stdout.