summaryrefslogtreecommitdiffstats
path: root/source/xrmoptions.c
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-11 09:42:37 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-11 09:42:37 +0100
commit19b023b221b03a0e322696be8234170ab90984ec (patch)
tree0ce99991f275406ebb065c4f844bca9be34cd527 /source/xrmoptions.c
parent4452b08288c25fa833e22c97b57045ec5888b547 (diff)
Split sorting option. one for sorting. One to force levenshtein.
Diffstat (limited to 'source/xrmoptions.c')
-rw-r--r--source/xrmoptions.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/xrmoptions.c b/source/xrmoptions.c
index eff1644e..85f829c7 100644
--- a/source/xrmoptions.c
+++ b/source/xrmoptions.c
@@ -137,8 +137,10 @@ static XrmOption xrmOptions[] = {
{ xrm_Boolean, "disable-history", { .num = &config.disable_history }, NULL,
"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", CONFIG_DEFAULT },
+ "Use levenshtein sorting also for fuzzy matching", CONFIG_DEFAULT },
{ xrm_Boolean, "case-sensitive", { .num = &config.case_sensitive }, NULL,
"Set case-sensitivity", CONFIG_DEFAULT },
{ xrm_Boolean, "cycle", { .num = &config.cycle }, NULL,