Skip to content

Commit 2dd63ce

Browse files
committed
update
1 parent bb417be commit 2dd63ce

File tree

4 files changed

+31
-5
lines changed

4 files changed

+31
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "osm-tag-csv-history"
33
version = "0.3.0"
4-
authors = ["Rory McCann <rory@technomancy.org>"]
4+
authors = ["Amanda McCann <amanda@technomancy.org>"]
55
edition = "2018"
66
license = "AGPL-3.0+"
77
repository = "https://git.sr.ht/~ebel/osm-tag-csv-history"

LICENCE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@
632632

633633
<one line to give the program's name and a brief idea of what it does.>
634634

635-
Copyright (C) 2020 Rory McCann
635+
Copyright (C) 2020 Amanda McCann
636636

637637
This program is free software: you can redistribute it and/or modify
638638
it under the terms of the GNU Affero General Public License as published by

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ If you have Rust installed, you can install it with:
1818

1919
cargo install osm-tag-csv-history
2020

21-
You can download prebuild binary released from the [Github release page](https://github.com/rory/osm-tag-csv-history/releases), (e.g. [download the v0.3.0 release](https://github.com/rory/osm-tag-csv-history/releases/download/v0.3.0/osm-tag-csv-history)).
21+
You can download prebuild binary released from the [Github release page](https://github.com/amandasaurus/osm-tag-csv-history/releases), (e.g. [download the v0.3.0 release](https://github.com/amandasaurus/osm-tag-csv-history/releases/download/v0.3.0/osm-tag-csv-history)).
2222

2323
## Usage
2424

@@ -183,6 +183,6 @@ The following other tools might be useful:
183183
## Misc
184184

185185
Copyright 2020, GNU Affero General Public Licence (AGPL) v3 or later. See [LICENCE.txt](./LICENCE.txt).
186-
Source code is on [Sourcehut](https://git.sr.ht/~ebel/osm-tag-csv-history), and [Github](https://github.com/rory/osm-tag-csv-history).
186+
Source code is on [Sourcehut](https://git.sr.ht/~ebel/osm-tag-csv-history), and [Github](https://github.com/amandasaurus/osm-tag-csv-history).
187187

188188
The output file should be viewed as a Derived Database of the OpenStreetMap database, and hence under the [ODbL 1.0](https://opendatacommons.org/licenses/odbl/) licence, the same as the [OpenStreetMap copyright](https://www.openstreetmap.org/copyright)

src/main.rs

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,33 @@ fn main() -> Result<()> {
8787
.takes_value(true).required(false)
8888
.possible_values(&["datetime", "epoch_time"])
8989
.default_value("datetime")
90-
.help("What format to use for time column?")
90+
.help("What format to use for time column in output file?")
91+
)
92+
93+
94+
.arg(Arg::with_name("tag")
95+
.short("t").long("tag")
96+
.value_name("TAG")
97+
.takes_value(true).required(false)
98+
.multiple(true).number_of_values(1)
99+
.help("Only include changes to this tag (can be specified multiple times)")
100+
)
101+
102+
103+
.arg(Arg::with_name("changeset_filename")
104+
.long("changesets")
105+
.value_name("changesets-latest.osm.bz")
106+
.takes_value(true).required(false)
107+
.help("Filename of the changeset file")
108+
)
109+
110+
.arg(Arg::with_name("changeset_tag")
111+
.short("C").long("changesets-tag")
112+
.value_name("TAG")
113+
.takes_value(true).required(false)
114+
.multiple(true)
115+
.help("Include a column with this changeset tag")
116+
.requires("changeset_filename")
91117
)
92118

93119

0 commit comments

Comments
 (0)