diff --git a/arg/__init__.py b/arg/__init__.py index 5db26ae..aa6e4b8 100644 --- a/arg/__init__.py +++ b/arg/__init__.py @@ -2,4 +2,5 @@ import sys def split() -> tuple[str, list[str]]: - return sys.argv[0], sys.argv[1:] + command, *arguments = sys.argv + return command, arguments