summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index e66c78d9..3b07cb8c 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -139,8 +139,8 @@ static XrmOption xrmOptions[] = {
"Disable history in run/ssh", CONFIG_DEFAULT },
{ xrm_Boolean, "sort", { .num = &config.sort }, NULL,
"Use sorting", CONFIG_DEFAULT },
- { xrm_Boolean, "levenshtein-sort", { .num = &config.levenshtein_sort }, NULL,
- "Use levenshtein sorting also for fuzzy matching", CONFIG_DEFAULT },
+ { xrm_String, "sorting-method", { .str = &config.sorting_method }, NULL,
+ "Choose the strategy used for sorting: normal (levenshtein) or fzf.", CONFIG_DEFAULT },
{ xrm_Boolean, "case-sensitive", { .num = &config.case_sensitive }, NULL,
"Set case-sensitivity", CONFIG_DEFAULT },
{ xrm_Boolean, "cycle", { .num = &config.cycle }, NULL,