https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242686

            Bug ID: 242686
           Summary: procstat usage message is mangled
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

The descriptions of the subcommands are wildly misformatted.  This seems to be
the result of a change in libxo: procstat writes the usage message
incrementally using xo_error(), and libxo recently changed xo_error() to append
a newline if the input string does not end with one.

We can fix procstat, but xo_error()'s behaviour contradicts its man page:

     When converting an application to libxo, one can replace
     fprintf(stderr,...) calls with xo_error() calls.

I don't really understand why xo_error() is doing this given that we have
xo_err(), xo_errx(), etc..

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to