Skip to content

Commit

Permalink
Fix README.
Browse files Browse the repository at this point in the history
  • Loading branch information
twitchax committed Aug 4, 2023
1 parent 2a06280 commit c23372f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion rtz/src/bin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum Command {
ned_command: Option<NedCommand>,
},

// The OpenStreetMap dataset based operations.
/// The OpenStreetMap dataset based operations.
Osm {
#[command(subcommand)]
osm_command: Option<OsmCommand>,
Expand Down

0 comments on commit c23372f

Please sign in to comment.