aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-05-18 14:44:43 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-05-18 14:44:43 +0000
commit4d182259e34122752ccdcc786ef20d5ad3ebd46c (patch)
tree6d4d3fb4c29295da21e5c01a8354bf36ed443497 /src
parent5b8a539965b55c11fb93bbe2cc145cc792e80e33 (diff)
downloadcflow-4d182259e34122752ccdcc786ef20d5ad3ebd46c.tar.gz
cflow-4d182259e34122752ccdcc786ef20d5ad3ebd46c.tar.bz2
Remove --license option
Diffstat (limited to 'src')
-rw-r--r--src/main.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/main.c b/src/main.c
index 96d6aad..94e1cf0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -152,38 +152,18 @@ static struct argp_option options[] = {
{ NULL, 0, NULL, 0,
N_("Informational options:"), GROUP_ID },
{ "verbose", 'v', NULL, 0,
N_("* Verbose error diagnostics"), GROUP_ID+1 },
{ "no-verbose", OPT_NO_VERBOSE, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
- { "license", 'L', 0, 0,
- N_("Print license and exit"), GROUP_ID+1 },
{ "debug", OPT_DEBUG, "NUMBER", OPTION_ARG_OPTIONAL,
N_("Set debugging level"), GROUP_ID+1 },
#undef GROUP_ID
{ 0, }
};
-char *cflow_license_text = N_(
-" GNU cflow is free software; you can redistribute it and/or modify\n"
-" it under the terms of the GNU General Public License as published by\n"
-" the Free Software Foundation; either version 2 of the License, or\n"
-" (at your option) any later version.\n"
-"\n"
-" GNU cflow is distributed in the hope that it will be useful,\n"
-" but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
-" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
-" GNU General Public License for more details.\n"
-"\n"
-" You should have received a copy of the GNU General Public License\n"
-" along with GNU cflow; if not, write to the Free Software Foundation,\n"
-" Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA\n"
-"\n"
-"\n"
-);
-
/* Structure representing various arguments of command line options */
struct option_type {
char *str; /* optarg value */
int min_match; /* minimal number of characters to match */
int type; /* data associated with the arg */
};
@@ -524,16 +504,12 @@ parse_opt (int key, char *arg, struct argp_state *state)
case OPT_NO_ANSI:
strict_ansi = 0;
break;
case OPT_DEBUG:
debug = arg ? atoi(arg) : 1;
break;
- case 'L':
- printf(_("License for %s:\n\n"), argp_program_version);
- printf("%s", cflow_license_text);
- exit(0);
case 'P':
set_print_option(arg);
break;
case 'S':
use_indentation = 1;
break;

Return to:

Send suggestions and report system problems to the System administrator.