diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-05-18 14:44:43 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-05-18 14:44:43 +0000 |
commit | 4d182259e34122752ccdcc786ef20d5ad3ebd46c (patch) | |
tree | 6d4d3fb4c29295da21e5c01a8354bf36ed443497 /src/main.c | |
parent | 5b8a539965b55c11fb93bbe2cc145cc792e80e33 (diff) | |
download | cflow-4d182259e34122752ccdcc786ef20d5ad3ebd46c.tar.gz cflow-4d182259e34122752ccdcc786ef20d5ad3ebd46c.tar.bz2 |
Remove --license option
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 24 |
1 files changed, 0 insertions, 24 deletions
@@ -157,4 +157,2 @@ static struct argp_option options[] = { "", GROUP_ID+1 }, - { "license", 'L', 0, 0, - N_("Print license and exit"), GROUP_ID+1 }, { "debug", OPT_DEBUG, "NUMBER", OPTION_ARG_OPTIONAL, @@ -165,20 +163,2 @@ static struct argp_option options[] = { -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 */ @@ -529,6 +509,2 @@ parse_opt (int key, char *arg, struct argp_state *state) break; - case 'L': - printf(_("License for %s:\n\n"), argp_program_version); - printf("%s", cflow_license_text); - exit(0); case 'P': |