fujiapple852 / trippy

A network diagnostic tool
https://trippy.cli.rs
Apache License 2.0
3.53k stars 76 forks source link

[BREAKING CHANGE] Rename `tui-max-[samples|flows]` as `max-[samples|flows]` #1187

Closed fujiapple852 closed 3 months ago

fujiapple852 commented 3 months ago

Rename config fields and move from [tui] to [strategy] section in the config file:

Attempting to use the legacy field names will result in an error pointing to the new name.

Command line:

error: unexpected argument '--tui-max-samples' found

  tip: a similar argument exists: '--max-samples'

Config file:

Error: tui-max-samples in [tui] section is deprecated, use max-samples in [strategy] section instead