From 034d8b15250c62dbd2da9131902d41dc543110eb Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sat, 14 Jul 2018 19:48:24 -0400 Subject: [PATCH] Added attributes parameter to search commnad --- cmd/search.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/search.go b/cmd/search.go index e2ff759..34d134c 100644 --- a/cmd/search.go +++ b/cmd/search.go @@ -33,6 +33,7 @@ var searchCmd = &cobra.Command{ Short: "Search an LDAP directory", Long: `Perform an LDAP search operation on an LDAP directory`, Run: func(cmd *cobra.Command, args []string) { + // create slice of attributes var attrs []string = nil if flagAttrs != "" { attrs = strings.Split(flagAttrs, ",")