diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 259767a..32134c2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,6 +41,24 @@ fn run() -> Result<()> { "Meetup.com API token (required)", "TOKEN" ); + opts.reqopt( + "", + "latitude", + "Origin latitude (required)", + "LATITUDE", + ); + opts.reqopt( + "", + "longitude", + "Origin longitude (required)", + "LONGITUDE", + ); + opts.reqopt( + "", + "end-date", + "Search for events from now until DATE (e.g. \"2018-01-31\") (required)", + "DATE", + ); opts.optflag("h", "help", "print this help menu"); let opt_matches = match opts.parse(&args[1..]) { |