Skip to content

Commit

Permalink
Merge pull request #137 from ajnelson-nist/sort_and_refresh_documenta…
Browse files Browse the repository at this point in the history
…tion

Sort and refresh README and "allow" flags
  • Loading branch information
ashleysommer committed Sep 15, 2022
2 parents 406e966 + e27f46c commit 7308536
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ Full CLI Usage options:
$ pyshacl -h
$ python3 -m pyshacl -h
usage: pyshacl [-h] [-s [SHACL]] [-e [ONT]] [-i {none,rdfs,owlrl,both}] [-m]
[-im] [-a] [-j] [-it] [--abort] [--allow-infos] [-w] [-d]
[-im] [-a] [-j] [-it] [--abort] [--allow-info] [-w] [-d]
[-f {human,table,turtle,xml,json-ld,nt,n3}]
[-df {auto,turtle,xml,json-ld,nt,n3}]
[-sf {auto,turtle,xml,json-ld,nt,n3}]
[-ef {auto,turtle,xml,json-ld,nt,n3}] [-V] [-o [OUTPUT]]
DataGraph

PySHACL 0.18.1 command line tool.
PySHACL 0.20.0 command line tool.

positional arguments:
DataGraph The file containing the Target Data Graph.
Expand All @@ -95,9 +95,11 @@ optional arguments:
-it, --iterate-rules Run Shape's SHACL Rules iteratively until the
data_graph reaches a steady state.
--abort Abort on first invalid data.
--allow-infos Shapes marked with severity of Info will not cause
--allow-info, --allow-infos
Shapes marked with severity of Info will not cause
result to be invalid.
-w, --allow-warnings Shapes marked with severity of Warning or Info will
-w, --allow-warning, --allow-warnings
Shapes marked with severity of Warning or Info will
not cause result to be invalid.
-d, --debug Output additional runtime messages.
-f {human,table,turtle,xml,json-ld,nt,n3}, --format {human,table,turtle,xml,json-ld,nt,n3}
Expand Down
2 changes: 1 addition & 1 deletion pyshacl/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def __call__(self, parser, namespace, values, option_string=None):
)
parser.add_argument('--abort', dest='abort', action='store_true', default=False, help='Abort on first invalid data.')
parser.add_argument(
'--allow-infos',
'--allow-info',
'--allow-infos',
dest='allow_infos',
action='store_true',
default=False,
Expand Down

0 comments on commit 7308536

Please sign in to comment.