aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-27 17:03:51 -0700
committerGitHub <noreply@github.com>2019-03-27 17:03:51 -0700
commit850326cc192444d1c5cfd8ba6e1015f653b41e73 (patch)
tree69e7e52bd522810426f1b1cff48d82899856a785 /cmd
parent340eeec1b654880f9d339c9ac2957bcaeaee6829 (diff)
parentbf75ecd4d187f40ce39ffdc9a8b566147901daee (diff)
downloadpodman-850326cc192444d1c5cfd8ba6e1015f653b41e73.tar.gz
podman-850326cc192444d1c5cfd8ba6e1015f653b41e73.tar.bz2
podman-850326cc192444d1c5cfd8ba6e1015f653b41e73.zip
Merge pull request #2777 from edsantiago/system_df_invalid_arg
system df: reject invalid arguments
Diffstat (limited to 'cmd')
-rw-r--r--cmd/podman/system_df.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/system_df.go b/cmd/podman/system_df.go
index 183c5a7dd..60da4238a 100644
--- a/cmd/podman/system_df.go
+++ b/cmd/podman/system_df.go
@@ -28,6 +28,7 @@ var (
`
_dfSystemCommand = &cobra.Command{
Use: "df",
+ Args: noSubArgs,
Short: "Show podman disk usage",
Long: dfSystemDescription,
RunE: func(cmd *cobra.Command, args []string) error {