Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/vgwhois/trunk/main/vgwhois
(Generate patch)

Comparing trunk/main/vgwhois (file contents):
Revision 12 by daniel-marschall, Tue May 21 10:38:39 2019 UTC vs.
Revision 13 by daniel-marschall, Thu May 23 11:06:58 2019 UTC

# Line 84 | Line 84 | while ($ARGV[0]) {
84                  " Try find information about the query (might be multiple words).\n",
85                  " If no query is given, use the first line from stdin\n\n",
86                  " Options:\n",
87 +                "   -C dir                  Setting an alternate configuration directory\n",
88 +                "                           default: $VGWhoIs::Core::confdir\n",
89                  "   -h host                 Selecting a fixed whois server for this query\n",
90                  "   -m method:host mirror   Defining a mirror for a given method and host.\n",
91                  "   -L                      Use lynx -source instead of LWP::Simple\n",
# Line 92 | Line 94 | while ($ARGV[0]) {
94                  "   -v                      Output version of pattern table(s)\n",
95                  "   -?, --help              Printing this text\n\n";
96                  exit;
97 +        } elsif ($ARGV[0] eq '-C') {
98 +                shift;
99 +                $VGWhoIs::Core::confdir = shift;
100          } elsif ($ARGV[0] eq '-c') {
101                  shift;
102                  $rawoutput = 1;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines