> Assuming that we want to fit everything in the conventional 80 char
 > wide xterm, the output itself could either be something likeA:
 > 
 > PROPERTY        VALUE          DEFAULT        POSSIBLE                       
 > adv_autoneg_cap ..             ..             ..             "short 
 > description"
 >                                                              /* 20 chars  */
 > 
 > or,
 >  
 > PROPERTY        VALUE          DEFAULT        POSSIBLE                       
 > adv_autoneg_cap ..             ..             ..             \n
 > "long property description can go here"

Two things:

        1. The default output of show-linkprop is about to change
           with stack instances to include a LINK field.  So we're
           basically out of 80-column room.

        2. Multi-line output is at-odds with the CLI design -- e.g.,
           it should be greppable and should be friendly to wider
           displays when those are available.  It also is at-odds
           with future -o support.

What about adding a new DESC field that's shown automatically if a -? or
-h (help) option is given to show-linkprop?  We should probably also add
an -o option to show-linkprop that allows the user to control the exact
fields that are output (like show-wifi and scan-wifi already have), and
then "-o all" can be used to see everything (including DESC).

-- 
meem

Reply via email to