From 9be68d3c4e3c7acee776dff80c7e94b4c5138544 Mon Sep 17 00:00:00 2001 From: Toni Gundogdu Date: Tue, 30 Aug 2011 14:11:13 +0300 Subject: [PATCH] Remove --license --- bin/umph | 22 ---------------------- doc/man1/umph.1.pod | 4 ---- 2 files changed, 26 deletions(-) diff --git a/bin/umph b/bin/umph index 3b9e39f..b24fe70 100755 --- a/bin/umph +++ b/bin/umph @@ -48,7 +48,6 @@ sub init 'no_proxy|no-proxy', 'quiet|q', 'version' => sub {say "umph version $VERSION"; exit 0}, - 'license' => \&print_license, 'help' => \&print_help, ) or exit 1; @@ -57,26 +56,6 @@ sub init $config{max_results} ||= 25; # Default 25. } -sub print_license -{ - print "# Copyright (C) 2010-2011 Toni Gundogdu. -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . -"; - exit 0; -} - sub print_help { require Pod::Usage; @@ -285,7 +264,6 @@ umph [-q] [-i] [--csv | --json] [-t EtypeE] --help Print help and exit --version Print version and exit - --license Print license and exit -q, --quiet Be quiet -i, --interactive Run in interactive mode -t, --type arg (=p) Get feed type diff --git a/doc/man1/umph.1.pod b/doc/man1/umph.1.pod index b14d6f6..fbc2d3b 100644 --- a/doc/man1/umph.1.pod +++ b/doc/man1/umph.1.pod @@ -29,10 +29,6 @@ Print help and exit. Print version and exit. -=item B<--license> - -Print license and exit. - =item B<-q, --quiet> Be quiet. -- 2.11.4.GIT