diff --git a/lodstorage/__init__.py b/lodstorage/__init__.py index ea370a8..def467e 100644 --- a/lodstorage/__init__.py +++ b/lodstorage/__init__.py @@ -1 +1 @@ -__version__ = "0.12.0" +__version__ = "0.12.1" diff --git a/lodstorage/query_cmd.py b/lodstorage/query_cmd.py index 8bf62f2..58e2942 100644 --- a/lodstorage/query_cmd.py +++ b/lodstorage/query_cmd.py @@ -135,6 +135,12 @@ def add_args(cls, parser: ArgumentParser): default=None, help="path to yaml file to configure endpoints to use for queries", ) + parser.add_argument( + "-fp", + "--formatsPath", + default=ValueFormatter.formatsPath, + help="path to yaml file to configure formats to use for query result documentation", + ) parser.add_argument( "-li", "--list", diff --git a/lodstorage/querymain.py b/lodstorage/querymain.py index e19899b..80a1a4a 100644 --- a/lodstorage/querymain.py +++ b/lodstorage/querymain.py @@ -249,12 +249,6 @@ def main(argv=None, lang=None): # IGNORE:C0111 ) QueryCmd.add_args(parser) - parser.add_argument( - "-fp", - "--formatsPath", - default=ValueFormatter.formatsPath, - help="path to yaml file to configure formats to use for query result documentation", - ) parser.add_argument( "-en", "--endpointName",