File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,10 @@ var signalMap = map[string]syscall.Signal{
5252var killCommand = cli.Command {
5353 Name : "kill" ,
5454 Usage : "kill sends the specified signal (default: SIGTERM) to the container's init process" ,
55- ArgsUsage : `<container-id> < signal>
55+ ArgsUsage : `<container-id> [ signal]
5656
5757Where "<container-id>" is the name for the instance of the container and
58- "< signal> " is the signal to be sent to the init process.
58+ "[ signal] " is the signal to be sent to the init process.
5959
6060EXAMPLE:
6161For example, if the container id is "ubuntu01" the following will send a "KILL"
@@ -69,7 +69,7 @@ signal to the init process of the "ubuntu01" container:
6969 },
7070 },
7171 Action : func (context * cli.Context ) error {
72- if err := checkArgs (context , 2 , exactArgs ); err != nil {
72+ if err := checkArgs (context , 1 , minArgs ); err != nil {
7373 return err
7474 }
7575 container , err := getContainer (context )
You can’t perform that action at this time.
0 commit comments