Skip to content

Commit

Permalink
add a few aliases to mbtiles commands (#1063)
Browse files Browse the repository at this point in the history
* `mbtiles copy`:  can also use `cp`
* `mbtiles validate`:  can also use `verify` and `check`
  • Loading branch information
nyurik authored Dec 14, 2023
1 parent 97d042c commit 4a3e612
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbtiles/src/bin/mbtiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ enum Commands {
value: Option<String>,
},
/// Copy tiles from one mbtiles file to another.
#[command(name = "copy")]
#[command(name = "copy", alias = "cp")]
Copy(MbtilesCopier),
/// Apply diff file generated from 'copy' command
#[command(name = "apply-patch", alias = "apply-diff")]
Expand All @@ -60,7 +60,7 @@ enum Commands {
diff_file: PathBuf,
},
/// Validate tile data if hash of tile data exists in file
#[command(name = "validate")]
#[command(name = "validate", alias = "check", alias = "verify")]
Validate {
/// MBTiles file to validate
file: PathBuf,
Expand Down

0 comments on commit 4a3e612

Please sign in to comment.