diff --git a/README.rst b/README.rst index d0633d52..5d56f47f 100644 --- a/README.rst +++ b/README.rst @@ -22,7 +22,7 @@ Run the application .. code-block:: console - pan3d-viewer --dataset_path /path/to/directory.zarr + pan3d-viewer --dataset=/path/to/directory.zarr Requires diff --git a/pan3d/__main__.py b/pan3d/__main__.py index 60056835..0cea0875 100644 --- a/pan3d/__main__.py +++ b/pan3d/__main__.py @@ -9,13 +9,13 @@ def main(): ) parser.add_argument("-C", "--config_path") - parser.add_argument("-D", "--dataset_path") + parser.add_argument("-D", "--dataset") parser.add_argument("-P", "--pangeo", action=BooleanOptionalAction) parser.add_argument("-S", "--server", action=BooleanOptionalAction) args = parser.parse_args() - builder = DatasetBuilder(dataset_path=args.dataset_path, pangeo=args.pangeo) + builder = DatasetBuilder(dataset_path=args.dataset, pangeo=args.pangeo) if args.config_path: builder.import_config(args.config_path) builder.viewer.server.start()