Signed-off-by: Philipp Hahn <hahn(a)univention.de>
---
cmd/virtconsoleresolveradm/cmd/root.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/virtconsoleresolveradm/cmd/root.go
b/cmd/virtconsoleresolveradm/cmd/root.go
index 76e1203..7aaca47 100644
--- a/cmd/virtconsoleresolveradm/cmd/root.go
+++ b/cmd/virtconsoleresolveradm/cmd/root.go
@@ -34,6 +34,7 @@ var RootCmd = &cobra.Command{
Short: "Libvirt console resolver admin",
Long: "Libvirt console resolver administration tool",
Run: func(cmd *cobra.Command, args []string) {},
+ Args: cobra.MinimumNArgs(1),
}
var (
--
2.20.1