Skip to content

Commit

Permalink
Improve naming of command classes
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Nov 8, 2023
1 parent 313da60 commit 6451794
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import picocli.CommandLine.Command;

@Command(name = "database", description = "Database commands.",
subcommands = {ExecuteSql.class, ImportOsmPbf.class, UpdateOpenStreetMap.class},
subcommands = {ExecuteSql.class, ImportOsm.class, UpdateOsm.class},
sortOptions = false)
public class Database implements Runnable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import picocli.CommandLine.Option;

@Command(name = "import-osm", description = "Import OpenStreetMap data in Postgres.")
public class ImportOsmPbf implements Callable<Integer> {
public class ImportOsm implements Callable<Integer> {

@Mixin
private Options options;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import picocli.CommandLine.Option;

@Command(name = "update-osm", description = "Update OpenStreetMap data in Postgres.")
public class UpdateOpenStreetMap implements Callable<Integer> {
public class UpdateOsm implements Callable<Integer> {

@Mixin
private Options options;
Expand Down

0 comments on commit 6451794

Please sign in to comment.