From c23372fb3261ff4b6bd7f41f3dc67abb58856f85 Mon Sep 17 00:00:00 2001 From: Aaron Roney Date: Fri, 4 Aug 2023 00:36:06 -0700 Subject: [PATCH] Fix README. --- README.md | 9 +++++---- rtz/src/bin.rs | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c816c6f..c35d4ee 100644 --- a/README.md +++ b/README.md @@ -81,8 +81,9 @@ Usage: rtz [COMMAND] Commands: ned The Natural Earth Data dataset based operations - osm + osm The OpenStreetMap dataset based operations dump-geojson Resolve a timezone from a lng,lat pair using the OSM dataset + serve Serve the timezone API help Print this message or the help of the given subcommand(s) Options: @@ -93,7 +94,7 @@ Options: ### Resolve a Time Zone ```bash -$ rtz resolve-ned "-87.62,41.88" +$ rtz ned tz "-87.62,41.88" Identifier: America/Chicago UTC Offset: UTC-06:00 @@ -105,7 +106,7 @@ DST Description: Canada (Manitoba), United States (Illinois, most of Texas) ### Run with Wasmer ```bash -wasmer run twitchax/rtz@latest -- resolve-ned 30,30 +wasmer run twitchax/rtz@latest -- ned tz 30,30 ``` ### Run the Server @@ -116,7 +117,7 @@ $ rtz serve ``` ```bash -$ docker run -it --rm -p 8082 twitchax/rtx +$ docker run -it --rm -p 8082 twitchax/rtz ``` ## Library Usage diff --git a/rtz/src/bin.rs b/rtz/src/bin.rs index 0c559c0..b3a372d 100644 --- a/rtz/src/bin.rs +++ b/rtz/src/bin.rs @@ -19,7 +19,7 @@ enum Command { ned_command: Option, }, - // The OpenStreetMap dataset based operations. + /// The OpenStreetMap dataset based operations. Osm { #[command(subcommand)] osm_command: Option,