commit c906b0c97cf085d6f5ada8ad652ecd2fabe3afa3 (HEAD -> develop,
origin/develop)
Author: phuc.h.chau <[email protected]>
Date: Fri Feb 28 11:34:31 2020 +0700
imm: imm_list tool add new option --delimiter [#3155]
Make delimiter of multiple attribute value from immlist configurable
Update usage --pretty-print does not work with option -a and -c
---
** [tickets:#3155] imm: make delimiter of multiple attribute value from immlist
configurable**
**Status:** fixed
**Milestone:** 5.20.05
**Created:** Mon Feb 17, 2020 07:40 AM UTC by Vu Minh Nguyen
**Last Updated:** Mon Mar 02, 2020 08:53 AM UTC
**Owner:** Chau Hoang Phuc
This ticket is to make the delimiter from immlist format for multiple attribute
value by adding an option `-d char, --delimiter=char`. The delimiter value must
be a single character.
e.g: here is the legacy output
~~~
$ immlist dn=1
macAddress SA_STRING_T x1:x2:x3:x4 x1:x2:x3:x4
~~~
~~~
$ immlist -a macAddress dn=1
macAddress=x1:x2:x3:x4:x1:x2:x3:x4
~~~
e.g: here is the output with the new option
~~~
$ immlist -d '|' dn=1
macAddress SA_STRING_T x1:x2:x3:x4|x1:x2:x3:x4
~~~
~~~
$ immlist -d '|' -a macAddress dn=1
macAddress=x1:x2:x3:x4|x1:x2:x3:x4
~~~
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list._______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets