Skip to content

Commit 480ba4c

Browse files
committed
Minor changes
Signed-off-by: Paolo Di Tommaso <[email protected]>
1 parent 6358d01 commit 480ba4c

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

app/conf/reflect-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,15 @@
194194
{
195195
"name":"groovy.lang.Closure"
196196
},
197+
{
198+
"name":"io.seqera.wave.api.BuildCompression",
199+
"allDeclaredFields":true,
200+
"methods":[{"name":"<init>","parameterTypes":[] }]
201+
},
202+
{
203+
"name":"io.seqera.wave.api.BuildCompression$Mode",
204+
"fields":[{"name":"estargz"}, {"name":"gzip"}, {"name":"zstd"}]
205+
},
197206
{
198207
"name":"io.seqera.wave.api.BuildContext",
199208
"allDeclaredFields":true,

app/src/main/java/io/seqera/wave/cli/App.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,19 +185,19 @@ public class App implements Runnable {
185185
@Option(names = {"--include"}, paramLabel = "''", description = "Include one or more containers in the specified base image")
186186
private List<String> includes;
187187

188-
@Option(names = {"--name-strategy"}, paramLabel = "false", description = "Specify the name strategy for the container name, it can be 'none' or 'tagPrefix' or 'imageSuffix'")
188+
@Option(names = {"--name-strategy"}, paramLabel = "<value>", description = "Specify the name strategy for the container name, it can be 'none' or 'tagPrefix' or 'imageSuffix'")
189189
private ImageNameStrategy nameStrategy;
190190

191191
@Option(names = {"-m","--mirror"}, paramLabel = "false", description = "Enable container mirror mode'")
192192
private boolean mirror;
193193

194-
@Option(names = {"--scan-mode"}, paramLabel = "false", description = "Specify container security scan mode, it can be 'none', 'async' or 'required'")
194+
@Option(names = {"--scan-mode"}, paramLabel = "<value>", description = "Specify container security scan mode, it can be 'none', 'async' or 'required'")
195195
private ScanMode scanMode;
196196

197-
@Option(names = {"--scan-level"}, paramLabel = "false", description = "Specify one or more security scan vulnerabilities level allowed in the container e.g. low,medium,high,critical")
197+
@Option(names = {"--scan-level"}, paramLabel = "<value>", description = "Specify one or more security scan vulnerabilities level allowed in the container e.g. low,medium,high,critical")
198198
private List<ScanLevel> scanLevels;
199199

200-
@Option(names = {"--build-compression"}, paramLabel = "false", description = "Specify the compression algorithm to be used for the build context, it can be 'gzip', 'zstd' or 'estargz'")
200+
@Option(names = {"--build-compression"}, paramLabel = "<value>", description = "Specify the compression algorithm to be used for the build context, it can be 'gzip', 'zstd' or 'estargz'")
201201
private BuildCompression.Mode buildCompression;
202202

203203

0 commit comments

Comments
 (0)