wwctl clean accepts no positional arguments

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-07 22:22:05 -07:00
parent 690eedc247
commit 5e8e9cea14

View File

@@ -15,6 +15,7 @@ func GetCommand() *cobra.Command {
Short: "Clean up",
Long: "This command cleans the OCI cache and removes leftovers from deleted nodes",
RunE: CobraRunE(&vars),
Args: cobra.ExactArgs(0),
}
return baseCmd
}