diff options
author | Håkan Waara <hwaara@gmail.com> | 2014-01-28 18:12:07 +0100 |
---|---|---|
committer | Håkan Waara <hwaara@gmail.com> | 2014-01-28 18:12:07 +0100 |
commit | 670cd30fe81f13be44345ed8c177e08204670a35 (patch) | |
tree | e4493435c2f74757bb8ed5227a9cda57570fc243 | |
parent | 57c84c07d2d283dab2fb3f2f5095c404e7fb9866 (diff) | |
download | jsonpath-rw-670cd30fe81f13be44345ed8c177e08204670a35.tar.gz |
improve usage
-rwxr-xr-x | jsonpath_rw/bin/jsonpath.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/jsonpath_rw/bin/jsonpath.py b/jsonpath_rw/bin/jsonpath.py index 89a714a..364615f 100755 --- a/jsonpath_rw/bin/jsonpath.py +++ b/jsonpath_rw/bin/jsonpath.py @@ -10,8 +10,10 @@ import json import sys import glob if len(sys.argv) < 2: - print("""usage: %s jsonpath [files] -path can be: + print("""usage: jsonpath.py expression [files] + +The expression is JSONPath and can be: + atomics: $ - root object `this` - current object |