Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ArgsUsage for shimdiag commands to add flags #980

Merged
merged 1 commit into from
Mar 22, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/shimdiag/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var execTty bool
var execCommand = cli.Command{
Name: "exec",
Usage: "Executes a command in a shim's hosting utility VM",
ArgsUsage: "<shim name> <command> [args...]",
ArgsUsage: "[flags] <shim name> <command> [args...]",
Flags: []cli.Flag{
cli.BoolFlag{
Name: "tty,t",
Expand Down
2 changes: 1 addition & 1 deletion cmd/shimdiag/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
var listCommand = cli.Command{
Name: "list",
Usage: "Lists running shims",
ArgsUsage: " ",
ArgsUsage: "[flags]",
Flags: []cli.Flag{
cli.BoolFlag{
Name: "pids",
Expand Down
2 changes: 1 addition & 1 deletion cmd/shimdiag/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
var shareCommand = cli.Command{
Name: "share",
Usage: "Share a file/directory in a shim's hosting utility VM",
ArgsUsage: "<shim name> <host_path> <uvm_path>",
ArgsUsage: "[flags] <shim name> <host_path> <uvm_path>",
Flags: []cli.Flag{
cli.BoolFlag{
Name: "readonly,ro",
Expand Down