Menu

#3165 imm: make "immlist --help" output appropriate

5.20.05
fixed
None
enhancement
imm
d
minor
False
2020-03-10
2020-03-09
No

root@SC-1:~# immlist -h

NAME
immlist - list IMM objects

SYNOPSIS
immlist [options] <object name=""> [object name]
immlist [options] <class name="">

DESCRIPTION
immlist is an IMM OM client used to print attributes of IMM objects.

OPTIONS
-a, --attribute=NAME
-c, --class - display class definition
-h, --help - display this help and exit
-p, --pretty-print=<yes|no> - select pretty print, default yes
--pretty-print does not work with the options -a and -c
-d, --delimiter=<char> - separate multiple attribute values by <char> -t, --timeout <sec>
utility timeout in seconds </sec></char></char>
</yes|no>

EXAMPLE
immlist -a saAmfApplicationAdminState safApp=OpenSAF
immlist safApp=myApp1 safApp=myApp2
immlist --pretty-print=no -a saAmfAppType safApp=OpenSAF
immlist -d '|' -a safAmfNodeGroup safAmfNodeGroup=AllNodes,safAmfCluster=myAmfClusterroot@SC-1:~#

</class></object>

Related

Wiki: ChangeLog-5.20.05

Discussion

  • Chau Hoang Phuc

    Chau Hoang Phuc - 2020-03-09
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,4 @@
    -SC-2-1:~ # immlist -h
    +root@SC-1:~# immlist -h
    
     NAME
             immlist - list IMM objects
    @@ -16,11 +16,11 @@
             -h, --help - display this help and exit
             -p, --pretty-print=&lt;yes|no&gt; - select pretty print, default yes
                     --pretty-print does not work with the options -a and -c
    -       ** -d, --delimiter=&lt;char&gt; - separate multiple attribute values by &lt;char&gt;   -t, --timeout &lt;sec&gt;
    -                utility timeout in seconds**
    +      **  -d, --delimiter=&lt;char&gt; - separate multiple attribute values by &lt;char&gt;   -t, --timeout &lt;sec&gt;
    +                utility timeout in seconds **
    
     EXAMPLE
             immlist -a saAmfApplicationAdminState safApp=OpenSAF
             immlist safApp=myApp1 safApp=myApp2
             immlist --pretty-print=no -a saAmfAppType safApp=OpenSAF
    -        immlist -d &#39;|&#39; -a safAmfNodeGroup **safAmfNodeGroup=AllNodes,safAmfCluster=myAmfClusterSC-2-1:~ #**
    +**        immlist -d &#39;|&#39; -a safAmfNodeGroup safAmfNodeGroup=AllNodes,safAmfCluster=myAmfClusterroot@SC-1:~#  **
    
     
  • Chau Hoang Phuc

    Chau Hoang Phuc - 2020-03-10
    • status: assigned --> fixed
     
  • Chau Hoang Phuc

    Chau Hoang Phuc - 2020-03-10

    commit 68bde54ba78d6db573778f3f8260243d1c28f26d
    Author: phuc.h.chau phuc.h.chau@dektech.com.au
    Date: Mon Mar 9 15:45:23 2020 +0700

    imm: enhance "immlist --help" output more appropriate [#3165]
    
    After a caption down the line for information more clearly
    
     

Log in to post a comment.