File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " krunvm"
3
- version = " 0.2.1 "
3
+ version = " 0.2.2 "
4
4
authors = [
" Sergio Lopez <[email protected] >" ]
5
5
description = " Create microVMs from OCI images"
6
6
repository = " https://github.com/containers/krunvm"
Original file line number Diff line number Diff line change @@ -195,7 +195,8 @@ fn main() {
195
195
. short ( "v" )
196
196
. help ( "Volume in form \" host_path:guest_path\" to be exposed to the guest" )
197
197
. takes_value ( true )
198
- . multiple ( true ) ,
198
+ . multiple ( true )
199
+ . number_of_values ( 1 ) ,
199
200
)
200
201
. arg (
201
202
Arg :: with_name ( "remove-ports" )
@@ -208,7 +209,8 @@ fn main() {
208
209
. short ( "p" )
209
210
. help ( "Port in format \" host_port:guest_port\" to be exposed to the host" )
210
211
. takes_value ( true )
211
- . multiple ( true ) ,
212
+ . multiple ( true )
213
+ . number_of_values ( 1 ) ,
212
214
)
213
215
. arg (
214
216
Arg :: with_name ( "new-name" )
@@ -279,15 +281,17 @@ fn main() {
279
281
. short ( "v" )
280
282
. help ( "Volume in form \" host_path:guest_path\" to be exposed to the guest" )
281
283
. takes_value ( true )
282
- . multiple ( true ) ,
284
+ . multiple ( true )
285
+ . number_of_values ( 1 ) ,
283
286
)
284
287
. arg (
285
288
Arg :: with_name ( "port" )
286
289
. long ( "port" )
287
290
. short ( "p" )
288
291
. help ( "Port in format \" host_port:guest_port\" to be exposed to the host" )
289
292
. takes_value ( true )
290
- . multiple ( true ) ,
293
+ . multiple ( true )
294
+ . number_of_values ( 1 ) ,
291
295
)
292
296
. arg (
293
297
Arg :: with_name ( "name" )
You can’t perform that action at this time.
0 commit comments