Skip to content

Commit

Permalink
Change CamelCase again
Browse files Browse the repository at this point in the history
Attempt to avoid `<input-pm-tiles>` and `<remote-pm-tiles>` in the help text
  • Loading branch information
zstadler authored Dec 2, 2024
1 parent 81bb40e commit 233794c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ var cli struct {
} `cmd:"" help:"Download a local archive to remote storage." hidden:""`

Upload struct {
InputPMTiles string `arg:"" type:"existingfile" help:"The local PMTiles file"`
RemotePMTiles string `arg:"" help:"The name for the remote PMTiles source"`
InputPmtiles string `arg:"" type:"existingfile" help:"The local PMTiles file"`
RemotePmtiles string `arg:"" help:"The name for the remote PMTiles source"`
MaxConcurrency int `default:"2" help:"# of upload threads"`
Bucket string `required:"" help:"Bucket to upload to."`
} `cmd:"" help:"Upload a local archive to remote storage."`
Expand Down Expand Up @@ -204,7 +204,7 @@ func main() {
logger.Fatalf("Failed to convert %s, %v", path, err)
}
case "upload <inputpmtiles> <remotepmtiles>":
err := pmtiles.Upload(logger, cli.Upload.InputPMTiles, cli.Upload.Bucket, cli.Upload.RemotePMTiles, cli.Upload.MaxConcurrency)
err := pmtiles.Upload(logger, cli.Upload.InputPmtiles, cli.Upload.Bucket, cli.Upload.RemotePmtiles, cli.Upload.MaxConcurrency)

if err != nil {
logger.Fatalf("Failed to upload file, %v", err)
Expand Down

0 comments on commit 233794c

Please sign in to comment.