summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-12-03 19:50:43 +0000
committergVisor bot <gvisor-bot@google.com>2020-12-03 19:50:43 +0000
commit477b79bd8d92cb15ff2cedec64eefddc8fd23dbf (patch)
tree554db273c47ba485a6a3fd3480e5d61add3bd690 /runsc
parent179f062001122e09fa84ea5869201c788fb94038 (diff)
parentbec8cea6513beaf6c2348ed0b71cb40e417beb68 (diff)
Merge release-20201130.0-33-gbec8cea65 (automated)
Diffstat (limited to 'runsc')
-rw-r--r--runsc/cmd/do.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/cmd/do.go b/runsc/cmd/do.go
index 640de4c47..8a8d9f752 100644
--- a/runsc/cmd/do.go
+++ b/runsc/cmd/do.go
@@ -81,7 +81,7 @@ func (c *Do) SetFlags(f *flag.FlagSet) {
// Execute implements subcommands.Command.Execute.
func (c *Do) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) subcommands.ExitStatus {
if len(f.Args()) == 0 {
- c.Usage()
+ f.Usage()
return subcommands.ExitUsageError
}