1
0
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:
Kelly Brazil
2022-11-04 09:25:17 -07:00
parent 71c8364f80
commit 89d4df2a05
2 changed files with 16 additions and 2 deletions

View File

@ -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):

View File

@ -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):