LocalIP: document show-mtu and show-speed command line options (#1318)

Also add these options to shell completions.
This commit is contained in:
apocelipes
2024-10-05 21:49:29 +08:00
committed by GitHub
parent 24c3f0d6b9
commit acfab74d4b
2 changed files with 20 additions and 0 deletions
+18
View File
@@ -1196,6 +1196,24 @@
"default": false
}
},
{
"long": "localip-show-mtu",
"desc": "Show net interface's MTU (Maximum Transmission Unit) size in bytes",
"arg": {
"type": "bool",
"optional": true,
"default": false
}
},
{
"long": "localip-show-speed",
"desc": "Show net interface's link speed with human-readable format (or an 1Mb units integer in JSON format)",
"arg": {
"type": "bool",
"optional": true,
"default": false
}
},
{
"long": "localip-show-prefix-len",
"desc": "Show network prefix length (/N) in local ip module",