[go: nahoru, domu]

Skip to content

Commit

Permalink
Remove "shortName" from arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
valaphee committed Apr 29, 2022
1 parent 2519068 commit 680c615
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/com/valaphee/protod/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import java.io.File

fun main(arguments: Array<String>) {
val argumentParser = ArgParser("protod")
val input by argumentParser.argument(ArgType.String, "input", "i", "Input file")
val output by argumentParser.argument(ArgType.String, "output", "o", "Output path")
val input by argumentParser.argument(ArgType.String, "input", "Input file")
val output by argumentParser.argument(ArgType.String, "output", "Output path")
val exclude by argumentParser.option(ArgType.String, "exclude", null, "Exclude files").multiple().default(listOf("google/protobuf/compiler/plugin.proto", "google/protobuf/any.proto", "google/protobuf/api.proto", "google/protobuf/descriptor.proto", "google/protobuf/duration.proto", "google/protobuf/empty.proto", "google/protobuf/field_mask.proto", "google/protobuf/source_context.proto", "google/protobuf/struct.proto", "google/protobuf/timestamp.proto", "google/protobuf/type.proto", "google/protobuf/wrappers.proto"))
argumentParser.parse(arguments)

Expand Down

0 comments on commit 680c615

Please sign in to comment.