Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always display help. Removed usage

  • Loading branch information...
commit 6c699f1be9ec939b1a1d4fd7f1ad8f9d7f17d7e6 1 parent 2519569
@ggustafsson authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 ipkalk
View
9 ipkalk
@@ -72,7 +72,7 @@ sub main {
my $mask2 = -1;
if (! defined ($ARGV[0])) {
- usage();
+ help();
exit();
}
@@ -812,13 +812,6 @@ sub ntobitcountmask {
return $bitcountmask;
}
-sub usage {
- print << "EOF";
-Usage: $filename [OPTION(S)]... [ADDRESS[/BITS]]... [NETMASK]...
-Try '--help' for more information.
-EOF
-}
-
sub help {
print << "EOF";
Usage: $filename [OPTION(S)]... [ADDRESS[/BITS]]... [NETMASK]...
Please sign in to comment.
Something went wrong with that request. Please try again.