summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2019-03-27 07:58:42 -0600
committerEd Santiago <santiago@redhat.com>2019-03-27 07:58:42 -0600
commitbf75ecd4d187f40ce39ffdc9a8b566147901daee (patch)
treeb582789d0bde8ac72e3efa696b8f5223ee68e9c5 /cmd
parentaba3a8423682635f98e4e3fd4d9a3e5a36667aeb (diff)
downloadpodman-bf75ecd4d187f40ce39ffdc9a8b566147901daee.tar.gz
podman-bf75ecd4d187f40ce39ffdc9a8b566147901daee.tar.bz2
podman-bf75ecd4d187f40ce39ffdc9a8b566147901daee.zip
system df: reject invalid arguments
Signed-off-by: Ed Santiago <santiago@redhat.com>
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 {