Skip to content

Commit

Permalink
Fix example template for vpp cli subcommand
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
  • Loading branch information
ondrej-fabry committed Dec 9, 2019
1 parent 6a1e571 commit 0f32c3f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/agentctl/commands/vpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ func newVppCliCommand(cli agentcli.Cli) *cobra.Command {
Short: "Execute VPP CLI command",
Example: `
To run a VPP CLI command:
$ agentctl vpp cli show version
Do same as above, but specify the HTTP address of the agent:
$ agentctl --httpaddr 172.17.0.3:9191 vpp cli show version
$ {{.CommandPath}} vpp cli show version
`,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 0f32c3f

Please sign in to comment.