summaryrefslogtreecommitdiff
path: root/jsonpath_rw/bin/jsonpath.py
diff options
context:
space:
mode:
Diffstat (limited to 'jsonpath_rw/bin/jsonpath.py')
-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