summaryrefslogtreecommitdiff
path: root/doc/config
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/config
parentdcc12cb8845e52943fbc6d42ec86f3b0acf80b76 (diff)
Add --print-index option.
Diffstat (limited to 'doc/config')
-rw-r--r--doc/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/config b/doc/config
index 2acf247..219ef2e 100644
--- a/doc/config
+++ b/doc/config
@@ -277,6 +277,12 @@
# This option only has an effect when hide-input is set to true.
hidden-character = "*"
+ # 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.
+ print-index = false
+
# If true, directly launch applications on selection when in drun mode.
# Otherwise, just print the command line to stdout.
drun-launch = false