Slightly better error message if you type ngrok with no args
@@ -109,7 +109,9 @@ func parseArgs() (opts *Options, err error) {
flag.Usage()
os.Exit(0)
case "":
- err = fmt.Errorf("You must specify a local port to tunnel or an ngrok command.")
+ err = fmt.Errorf("Error: Specify a local port to tunnel to, or " +
+ "an ngrok command.\n\nExample: To expose port 80, run " +
+ "'ngrok 80'")
return
default: