Skip to content

Commit 4227a2f

Browse files
committed
Change the help text for the engagement sub-commands
The new help text clarifies what is expected after the stand-alone double dash, so that the user understands that options to docker run must come before the name of the image to run. Signed-off-by: Thomas Hallgren <[email protected]>
1 parent 1f2f7d6 commit 4227a2f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pkg/client/cli/cmd/ingest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
func ingestCmd() *cobra.Command {
1212
ic := &ingest.Command{}
1313
cmd := &cobra.Command{
14-
Use: "ingest [flags] <workload> [-- <command with arguments...>]",
14+
Use: "ingest [flags] <name> [-- [[docker run flags] <image name>] OR [<command>]] args...]",
1515
Args: cobra.MinimumNArgs(1),
1616
Short: "Ingest a container",
1717
Annotations: map[string]string{

pkg/client/cli/cmd/intercept.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
func interceptCmd() *cobra.Command {
1111
ic := &intercept.Command{}
1212
cmd := &cobra.Command{
13-
Use: "intercept [flags] <intercept_base_name> [-- <command with arguments...>]",
13+
Use: "intercept [flags] <name> [-- [[docker run flags] <image name>] OR [<command>]] args...]",
1414
Args: cobra.MinimumNArgs(1),
1515
Short: "Intercept a service",
1616
Annotations: map[string]string{

pkg/client/cli/cmd/replace.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
func replaceCmd() *cobra.Command {
1111
ic := &intercept.Command{}
1212
cmd := &cobra.Command{
13-
Use: "replace [flags] <replace_base_name> [-- <command with arguments...>]",
13+
Use: "replace [flags] <name> [-- [[docker run flags] <image name>] OR [<command>]] args...]",
1414
Args: cobra.MinimumNArgs(1),
1515
Short: "Replace a container",
1616
Annotations: map[string]string{

0 commit comments

Comments
 (0)