> Thanks; looks like the main difference is long lines are intelligently > wrapped now, so code expecting one-value-per-line will break. I > haven't checked the implementation in detail, but does it hardcode the > wrapping at a certain point or determine it based on terminal size or > something? >
The long line wrapping is one of the changes, yes. For now it just wraps if the line is longer that some value. Another change is that the field values are no longer given between single-quotes. Also the initial "General" section is new, I needed a way to make it report the values in a custom new group of fields. And also, the "state" output in mmcli may be colored: green if connected, red if failed, and not explicitly colored otherwise. There are probably other differences in the output, but minimal I guess (e.g. the sizes of the columns are automatically computed now based on the sections and fields that are going to be printed) -- Aleksander https://aleksander.es _______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel