Added attributes parameter to search commnad
This commit is contained in:
parent
68dabe3165
commit
034d8b1525
@ -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, ",")
|
||||
|
Loading…
Reference in New Issue
Block a user