doc/arg.split
This commit is contained in:
parent
04eaae7ba3
commit
db47d5c80a
1 changed files with 5 additions and 1 deletions
|
@ -4,6 +4,10 @@ import sys
|
||||||
|
|
||||||
|
|
||||||
def split() -> tuple[str, list[str]]:
|
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
|
command, *arguments = sys.argv
|
||||||
return command, arguments
|
return command, arguments
|
||||||
|
|
Loading…
Reference in a new issue