aboutsummaryrefslogtreecommitdiff
path: root/src/cmdline.opt
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-10-01 21:56:07 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-10-01 21:56:07 +0300
commit179bf25f249a8ee7456e9f3e47f930014b0e5f90 (patch)
tree598f75c13a2c88c797459a5d17e37c25fd6e9cbc /src/cmdline.opt
parentddb280198adcada561b8e72c79b92d50a05b3e78 (diff)
downloadeclat-179bf25f249a8ee7456e9f3e47f930014b0e5f90.tar.gz
eclat-179bf25f249a8ee7456e9f3e47f930014b0e5f90.tar.bz2
Improve command matching
* src/eclat.c (name_matches): New function. (find_command_name): Use it. (main): Handle --match-commands. * src/cmdline.opt: New option: --match-commands. * doc/eclat.1: Document new command matching algorithm.
Diffstat (limited to 'src/cmdline.opt')
-rw-r--r--src/cmdline.opt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cmdline.opt b/src/cmdline.opt
index 7726416..84b495f 100644
--- a/src/cmdline.opt
+++ b/src/cmdline.opt
@@ -57,6 +57,12 @@ BEGIN
preprocess_only = 1;
END
+OPTION(match-command,m,,
+ [<find matching command names>])
+BEGIN
+ match_command_mode = 1;
+END
+
GROUP(Modifiers)
OPTION(config-file,c,FILE,

Return to:

Send suggestions and report system problems to the System administrator.