summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHåkan Waara <hwaara@gmail.com>2014-01-28 18:12:07 +0100
committerHåkan Waara <hwaara@gmail.com>2014-01-28 18:12:07 +0100
commit670cd30fe81f13be44345ed8c177e08204670a35 (patch)
treee4493435c2f74757bb8ed5227a9cda57570fc243
parent57c84c07d2d283dab2fb3f2f5095c404e7fb9866 (diff)
downloadjsonpath-rw-670cd30fe81f13be44345ed8c177e08204670a35.tar.gz
improve usage
-rwxr-xr-xjsonpath_rw/bin/jsonpath.py6
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