diff --git a/src/napari_micromanager/__main__.py b/src/napari_micromanager/__main__.py index 8a1ce3bf..04129d5a 100644 --- a/src/napari_micromanager/__main__.py +++ b/src/napari_micromanager/__main__.py @@ -10,7 +10,7 @@ def main(args: Sequence[str] | None = None) -> None: """Create a napari viewer and add the MicroManager plugin to it.""" if args is None: - args = sys.argv + args = sys.argv[1:] parser = argparse.ArgumentParser(description="Enter string") parser.add_argument(