X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=selector.c;h=3c8f13678d97eabdbc1e27121cbf38565eec8a6b;hb=af8b50ee46fba4784c1003070424e1b74de66470;hp=5054f6b6a0050490b4e19d59b208e5ad4eceec0b;hpb=31d6b34af7e6587c8eecabeb44da4de86ec93f3d;p=selector.git diff --git a/selector.c b/selector.c index 5054f6b..3c8f136 100644 --- a/selector.c +++ b/selector.c @@ -3,7 +3,7 @@ * selector is a simple command line utility for selection of strings * with a dynamic pattern-matching. * - * Copyright (c) 2009 Francois Fleuret + * Copyright (c) 2009, 2010 Francois Fleuret * Written by Francois Fleuret * * This file is part of selector. @@ -44,7 +44,7 @@ #include #include -#define VERSION "1.0.1" +#define VERSION "1.1" #define BUFFER_SIZE 4096 @@ -779,8 +779,8 @@ void read_file(struct hash_table_t *hash_table, static struct option long_options[] = { { "output-file", 1, 0, 'o' }, - { "separator-patterns", 1, 0, 's' }, - { "separator-display", 1, 0, 'x' }, + { "pattern-separator", 1, 0, 's' }, + { "label-separator", 1, 0, 'x' }, { "inject-in-tty", no_argument, 0, 'v' }, { "add-control-qs", no_argument, 0, 'w' }, { "monochrome", no_argument, 0, 'm' },