diff options
author | mbornet-hl <mbornet.pro@wanadoo.fr> | 2015-07-31 19:10:25 +0200 |
---|---|---|
committer | mbornet-hl <mbornet.pro@wanadoo.fr> | 2015-07-31 19:10:25 +0200 |
commit | faee2c1ee7178c4987901ca1ec4a1dc44bcfb1b0 (patch) | |
tree | f31f84cf75513ee85b623eb819510a81c6b724f8 | |
parent | 69e97e37d442d33431ca5e486b2de35555f7d457 (diff) | |
download | hl-faee2c1ee7178c4987901ca1ec4a1dc44bcfb1b0.zip hl-faee2c1ee7178c4987901ca1ec4a1dc44bcfb1b0.tar.gz hl-faee2c1ee7178c4987901ca1ec4a1dc44bcfb1b0.tar.bz2 |
Suppression of a line "exit(1)" in cr_read_input().
-rw-r--r-- | src/cr_main.c | 8 | ||||
-rwxr-xr-x | src/hl | bin | 36120 -> 36120 bytes |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/cr_main.c b/src/cr_main.c index 37af54d..ca90f76 100644 --- a/src/cr_main.c +++ b/src/cr_main.c @@ -20,7 +20,7 @@ * * File : cr_main.c * - * @(#) [MB] cr_main.c Version 1.45 du 15/07/28 - + * @(#) [MB] cr_main.c Version 1.46 du 15/07/31 - * * Functions in this file : * ~~~~~~~~~~~~~~~~~~~~~~~~ @@ -608,7 +608,7 @@ int main(int argc, char *argv[]) break; case 'V': - fprintf(stderr, "%s: version %s\n", G.prgname, "1.45"); + fprintf(stderr, "%s: version %s\n", G.prgname, "1.46"); exit(1); break; @@ -648,7 +648,7 @@ int main(int argc, char *argv[]) ******************************************************************************/ void cr_usage(bool disp_config) { - fprintf(stderr, "%s: version %s\n", G.prgname, "1.45"); + fprintf(stderr, "%s: version %s\n", G.prgname, "1.46"); fprintf(stderr, "Usage: %s [-h|-H|-V|-[eiuvdDEL1234][-[rgybmcwRGYBMCW] regexp ...][--config_name ...] ]\n", G.prgname); fprintf(stderr, " -h : help\n"); @@ -887,8 +887,6 @@ void cr_read_input(void) cr_disp_line(); } - - exit(1); } /****************************************************************************** Binary files differ |