diff --git a/src/cli.cr b/src/cli.cr index 602135a..8923db9 100644 --- a/src/cli.cr +++ b/src/cli.cr @@ -1,9 +1,19 @@ require "option_parser" require "./myip" +ARGV << "--help" if ARGV.empty? + +ip111 = false +ip138 = false +ipsb = false + OptionParser.parse do |parser| parser.banner = <<-USAGE -Usage: myip