From 8fdd0ffbced6c8afc3aca9b07d79c562af9fd9c7 Mon Sep 17 00:00:00 2001 From: yo Date: Sun, 19 Dec 2021 12:41:54 +0100 Subject: [PATCH] Make Listjails and Stopjails public to differentiate from internal functions --- cmd/root.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) }, } )