diff --git a/cmd/root.go b/cmd/root.go index 802fd4d..0cc0ec5 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -47,7 +47,7 @@ It support iocage jails and can coexist with iocage.`, Jail list can be restricted by adding name on command line ex: gocage list srv-db srv-web`, Run: func(cmd *cobra.Command, args []string) { - listJails(args, true) + ListJails(args, true) }, } @@ -57,8 +57,8 @@ ex: gocage list srv-db srv-web`, Long: `shutdown jail`, Run: func(cmd *cobra.Command, args []string) { // Get the inventory - listJails(args, false) - stopJail(args) + ListJails(args, false) + StopJail(args) }, } )