diff --git a/README.md b/README.md index 8bdbe1b6..9743d636 100755 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ Tested on: ## Examples ### airport -I ``` -$ airport -I | jc --airport -p +$ airport -I | jc --airport -p # or: jc -p airport -I { "agrctlrssi": -66, "agrextrssi": 0, @@ -191,7 +191,7 @@ $ airport -I | jc --airport -p ``` ### airport -s ``` -$ airport -s | jc --airport-s -p +$ airport -s | jc --airport-s -p # or: jc -p airport -s [ { "ssid": "DIRECT-4A-HP OfficeJet 3830", @@ -764,7 +764,7 @@ $ env | jc --env -p # or: jc -p env ``` ### file ``` -$ file * | jc --file -p +$ file * | jc --file -p # or: jc -p file * [ { "filename": "Applications", @@ -2127,7 +2127,7 @@ $ systemctl list-unit-files | jc --systemctl-luf -p # or: jc -p system ``` ### timedatectl status ``` -$ timedatectl | jc --timedatectl -p +$ timedatectl | jc --timedatectl -p # or: jc -p timedatectl { "local_time": "Tue 2020-03-10 17:53:21 PDT", "universal_time": "Wed 2020-03-11 00:53:21 UTC", diff --git a/changelog.txt b/changelog.txt index d8bff46b..9cd114e1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,8 @@ jc changelog +20200311 v1.9.1 +- Updated file command parser to make filename splitting more robust + 20200311 v1.9.0 - Added ntpq command parser - Added timedatectl status command parser diff --git a/jc/cli.py b/jc/cli.py index 1b443609..fc4e17b0 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -13,7 +13,7 @@ import jc.utils class info(): - version = '1.9.0' + version = '1.9.1' description = 'jc cli output JSON conversion tool' author = 'Kelly Brazil' author_email = 'kellyjonbrazil@gmail.com' diff --git a/setup.py b/setup.py index 16dfbee0..74caf283 100755 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open('README.md', 'r') as f: setuptools.setup( name='jc', - version='1.9.0', + version='1.9.1', author='Kelly Brazil', author_email='kellyjonbrazil@gmail.com', description='This tool serializes the output of popular command line tools and filetypes to structured JSON output.',