From 5d234a28c7f83188070d8511c108e52e12806f5f Mon Sep 17 00:00:00 2001 From: Toms Zacharia Date: Tue, 12 Nov 2024 07:44:11 -0500 Subject: [PATCH] Removed unecessary comments. The change includes an update to get service count using the flag --count --- src/cmd/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/user.go b/src/cmd/user.go index 70a62ad5..9a2c39f7 100644 --- a/src/cmd/user.go +++ b/src/cmd/user.go @@ -102,7 +102,7 @@ opslevel list user --ignore-deactivated opslevel list user -o json | jq 'map({"key": .Name, "value": .Role}) | from_entries' `, Run: func(cmd *cobra.Command, args []string) { - // payloadVars should remain nil if '--ignore-deactivated' + // payloadVars should remain nil if '--ignore-deactivated' not set var payloadVars *opslevel.PayloadVariables ignoreDeactivated, err := cmd.Flags().GetBool("ignore-deactivated")