diff --git a/docs/parsers/ufw.md b/docs/parsers/ufw.md index 8fe94faf..d89f4d88 100644 --- a/docs/parsers/ufw.md +++ b/docs/parsers/ufw.md @@ -3,6 +3,8 @@ # jc.parsers.ufw jc - JSON CLI output utility `ufw status` command output parser +Note: a list of ports will be parsed to the `to_service` or `from_service` field as a comma-separated string. + Usage (cli): $ ufw status | jc --ufw diff --git a/jc/parsers/ufw.py b/jc/parsers/ufw.py index e251a0fb..7d5a3d9f 100644 --- a/jc/parsers/ufw.py +++ b/jc/parsers/ufw.py @@ -1,5 +1,7 @@ """jc - JSON CLI output utility `ufw status` command output parser +Note: a list of ports will be parsed to the `to_service` or `from_service` field as a comma-separated string. + Usage (cli): $ ufw status | jc --ufw