Closed c-git closed 1 month ago
My only comment is on the cmd.rs
change, as this makes --tui-as-mode
the new longest line output by trip -h
:
--tui-as-mode <TUI_AS_MODE> How to render Anonymous System (AS) information [default: asn] [possible values: asn, prefix, country-code, registry, allocated, name]
The output is a bit of inconsistent at the moment, we don't define some of the terms here (i.e. MPLS) though we do define some (i.e. ECMP). On balance I think I favour brevity for command line help output, but I'm persuadable either way.
Fine with everything else.
I don't feel strongly about changing that one. I don't really mind not defining MPLS but I do mind for AS. The reason is MPLS is very easy to Google while AS is a lot harder because "as" is a word.
But thinking about it more, I'm ok with it being long. It will just wrap. It's probably better for the user to be able to get useful information from it. Brief but not lacking necessary info is where I guess we should aim for (necessary here referring to things that are hard to find based on what we did include).
Tweaked slightly to standardize on autonomous system (AS)
(just a change to the casing). I also rebased and squashed the last two commits.
Seems I had some typos ("Anonymous System (AS)") in there as well, all fixed.
Makes it easier for users to lookup as AS is hard to search for