mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
document ifconfig limitations and recommend using ip
This commit is contained in:
@ -5,7 +5,14 @@
|
||||
|
||||
jc - JSON Convert `ifconfig` command output parser
|
||||
|
||||
> Note: No `ifconfig` options are supported.
|
||||
No `ifconfig` options are supported.
|
||||
|
||||
Consider using the `ip` command instead of `ifconfig` as it supports native
|
||||
JSON output and provides more detailed output than the `ifconfig` parser.
|
||||
(e.g. support for multiple IPv4 and IPv6 addresses.)
|
||||
|
||||
> Note: This parser will only output the last IPv4 and IPv6 address for
|
||||
> each interface in the command output.
|
||||
|
||||
Usage (cli):
|
||||
|
||||
|
@ -1,6 +1,13 @@
|
||||
"""jc - JSON Convert `ifconfig` command output parser
|
||||
|
||||
> Note: No `ifconfig` options are supported.
|
||||
No `ifconfig` options are supported.
|
||||
|
||||
Consider using the `ip` command instead of `ifconfig` as it supports native
|
||||
JSON output and provides more detailed output than the `ifconfig` parser.
|
||||
(e.g. support for multiple IPv4 and IPv6 addresses.)
|
||||
|
||||
> Note: This parser will only output the last IPv4 and IPv6 address for
|
||||
> each interface in the command output.
|
||||
|
||||
Usage (cli):
|
||||
|
||||
|
Reference in New Issue
Block a user