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 11[package ]
22name = " krunvm"
3- version = " 0.2.1 "
3+ version = " 0.2.2 "
44authors = [" Sergio Lopez <slp@redhat.com>" ]
55description = " Create microVMs from OCI images"
66repository = " https://github.com/containers/krunvm"
Original file line number Diff line number Diff line change @@ -195,7 +195,8 @@ fn main() {
195195 . short ( "v" )
196196 . help ( "Volume in form \" host_path:guest_path\" to be exposed to the guest" )
197197 . takes_value ( true )
198- . multiple ( true ) ,
198+ . multiple ( true )
199+ . number_of_values ( 1 ) ,
199200 )
200201 . arg (
201202 Arg :: with_name ( "remove-ports" )
@@ -208,7 +209,8 @@ fn main() {
208209 . short ( "p" )
209210 . help ( "Port in format \" host_port:guest_port\" to be exposed to the host" )
210211 . takes_value ( true )
211- . multiple ( true ) ,
212+ . multiple ( true )
213+ . number_of_values ( 1 ) ,
212214 )
213215 . arg (
214216 Arg :: with_name ( "new-name" )
@@ -279,15 +281,17 @@ fn main() {
279281 . short ( "v" )
280282 . help ( "Volume in form \" host_path:guest_path\" to be exposed to the guest" )
281283 . takes_value ( true )
282- . multiple ( true ) ,
284+ . multiple ( true )
285+ . number_of_values ( 1 ) ,
283286 )
284287 . arg (
285288 Arg :: with_name ( "port" )
286289 . long ( "port" )
287290 . short ( "p" )
288291 . help ( "Port in format \" host_port:guest_port\" to be exposed to the host" )
289292 . takes_value ( true )
290- . multiple ( true ) ,
293+ . multiple ( true )
294+ . number_of_values ( 1 ) ,
291295 )
292296 . arg (
293297 Arg :: with_name ( "name" )
You can’t perform that action at this time.
0 commit comments