ISLEC  Version 4.2
usage.c
Go to the documentation of this file.
1 /* src/usage.c
2  *
3  * Copyright (C) 2011-2018 Dongdong Li
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundataion; either version 3 of the License, or (at
8  * your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABLITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  */
19 
30 void print_ec_usage (int exit_code)
31 {
32  printf ("Usage:%s [ options | [ database-file input-file ] ]\n", PROGRAM_COMMAND);
33  printf (" -h --help Display this usage information.\n"
34  " -v --version Display version information.\n");
35  exit (exit_code);
36 }
37 
38 void print_re_usage (int exit_code)
39 {
40  printf ("Usage:%s [ options | [ database-file exp-file parameter-num ] ]\n", PROGRAM_COMMAND);
41  printf (" -h --help Display this usage information.\n"
42  " -v --version Display version information.\n");
43  exit (exit_code);
44 }
void print_ec_usage(int exit_code)
Definition: usage.c:30
void print_re_usage(int exit_code)
Definition: usage.c:38
#define PROGRAM_COMMAND
Definition: islec.h:31