From bf75ecd4d187f40ce39ffdc9a8b566147901daee Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Wed, 27 Mar 2019 07:58:42 -0600 Subject: system df: reject invalid arguments Signed-off-by: Ed Santiago --- cmd/podman/system_df.go | 1 + 1 file changed, 1 insertion(+) 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 { -- cgit v1.2.3-54-g00ecf