From db47d5c80a70253b584a3cefcee35dc97bf194ea Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 15 Sep 2024 15:07:47 +0200 Subject: [PATCH] doc/arg.split --- rwx/arg/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rwx/arg/__init__.py b/rwx/arg/__init__.py index 71ce0a7..a35dd4f 100644 --- a/rwx/arg/__init__.py +++ b/rwx/arg/__init__.py @@ -4,6 +4,10 @@ import sys def split() -> tuple[str, list[str]]: - """Split command & actual arguments.""" + """Split command & actual arguments. + + :return: both + :rtype: tuple[str, list[str]] + """ command, *arguments = sys.argv return command, arguments