Skip to content

Commit 73c1aec

Browse files
committed
minor update
1 parent 136087e commit 73c1aec

File tree

1 file changed

+3
-2
lines changed
  • src/main/java/io/github/alexcheng1982/birdclassifier

1 file changed

+3
-2
lines changed

src/main/java/io/github/alexcheng1982/birdclassifier/Cli.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import org.slf4j.Logger;
66
import org.slf4j.LoggerFactory;
77
import picocli.CommandLine;
8+
import picocli.CommandLine.Option;
89
import picocli.CommandLine.Parameters;
910

1011
@CommandLine.Command(
@@ -20,14 +21,14 @@ public class Cli implements Callable<String> {
2021
@Parameters(index = "0")
2122
URL imageUrl;
2223

23-
@CommandLine.Option(
24+
@Option(
2425
names = {"-w", "--width"},
2526
defaultValue = "260",
2627
description = "Image width"
2728
)
2829
int imageWidth = 260;
2930

30-
@CommandLine.Option(
31+
@Option(
3132
names = {"-h", "--height"},
3233
defaultValue = "260",
3334
description = "Image height"

0 commit comments

Comments
 (0)