Roger Shimizu wrote:
>I meant we may have:
>       status: 8193
>  status flag: STA_PLL | STA_NANO

That might be OK for the status flags, but I don't fancy duplicating
*every* line just to add the unit:

        offset: 5221897
    offset qty: 5221897 ns
      maxerror: 616511
  maxerror qty: 616511 us
      esterror: 9673
  esterror qty: 9673 us

Applying that approach to every line doesn't seem sensible.  But if
you're OK with adding the unit to the existing line, then there's a
similar approach available to keep the status on one line:

       status: 8193 (STA_PLL | STA_NANO)

It's worth avoiding duplicating the lines, if reasonably possible,
because duplication gives the impression that two different pieces of
information are being presented.

If you reckon it's not acceptable to modify the existing lines at all,
then it would seem better to leave the -p output completely unchanged,
and add a new command-line option that provides the same information in
the new format.

-zefram

Reply via email to