We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136087e commit 73c1aecCopy full SHA for 73c1aec
src/main/java/io/github/alexcheng1982/birdclassifier/Cli.java
@@ -5,6 +5,7 @@
5
import org.slf4j.Logger;
6
import org.slf4j.LoggerFactory;
7
import picocli.CommandLine;
8
+import picocli.CommandLine.Option;
9
import picocli.CommandLine.Parameters;
10
11
@CommandLine.Command(
@@ -20,14 +21,14 @@ public class Cli implements Callable<String> {
20
21
@Parameters(index = "0")
22
URL imageUrl;
23
- @CommandLine.Option(
24
+ @Option(
25
names = {"-w", "--width"},
26
defaultValue = "260",
27
description = "Image width"
28
)
29
int imageWidth = 260;
30
31
32
names = {"-h", "--height"},
33
34
description = "Image height"
0 commit comments