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")