@@ -146,10 +146,10 @@ var startCommand = cli.Command{
146146 path = context .Args ().Get (1 )
147147 )
148148 if path == "" {
149- fatal ("bundle path cannot be empty" , 1 )
149+ fatal ("bundle path cannot be empty" , ExitStatusMissingArg )
150150 }
151151 if id == "" {
152- fatal ("container id cannot be empty" , 1 )
152+ fatal ("container id cannot be empty" , ExitStatusMissingArg )
153153 }
154154 bpath , err := filepath .Abs (path )
155155 if err != nil {
@@ -336,7 +336,7 @@ var pauseCommand = cli.Command{
336336 Action : func (context * cli.Context ) {
337337 id := context .Args ().First ()
338338 if id == "" {
339- fatal ("container id cannot be empty" , 1 )
339+ fatal ("container id cannot be empty" , ExitStatusMissingArg )
340340 }
341341 c := getClient (context )
342342 _ , err := c .UpdateContainer (netcontext .Background (), & types.UpdateContainerRequest {
@@ -356,7 +356,7 @@ var resumeCommand = cli.Command{
356356 Action : func (context * cli.Context ) {
357357 id := context .Args ().First ()
358358 if id == "" {
359- fatal ("container id cannot be empty" , 1 )
359+ fatal ("container id cannot be empty" , ExitStatusMissingArg )
360360 }
361361 c := getClient (context )
362362 _ , err := c .UpdateContainer (netcontext .Background (), & types.UpdateContainerRequest {
@@ -388,7 +388,7 @@ var killCommand = cli.Command{
388388 Action : func (context * cli.Context ) {
389389 id := context .Args ().First ()
390390 if id == "" {
391- fatal ("container id cannot be empty" , 1 )
391+ fatal ("container id cannot be empty" , ExitStatusMissingArg )
392392 }
393393 c := getClient (context )
394394 if _ , err := c .Signal (netcontext .Background (), & types.SignalRequest {
0 commit comments