Skip to content

Commit 9b3a2f1

Browse files
author
Mrunal Patel
authored
Merge pull request #919 from zhaoleidd/fix_ps_argument_manual
Fix ps argument manual
2 parents 5dc3f35 + 71929e0 commit 9b3a2f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

man/runc-ps.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
runc ps - ps displays the processes running inside a container
33

44
# SYNOPSIS
5-
runc ps [command options] <container-id> <ps options>
5+
runc ps [command options] <container-id> [ps options]
66

77
# OPTIONS
88
--format value, -f value select one of: table(default) or json

ps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
var psCommand = cli.Command{
1717
Name: "ps",
1818
Usage: "ps displays the processes running inside a container",
19-
ArgsUsage: `<container-id> <ps options>`,
19+
ArgsUsage: `<container-id> [ps options]`,
2020
Flags: []cli.Flag{
2121
cli.StringFlag{
2222
Name: "format, f",

0 commit comments

Comments
 (0)