diff --git a/src/handler/utils/preprocessors/args.ts b/src/handler/utils/preprocessors/args.ts index c0881ca..9203bb2 100644 --- a/src/handler/utils/preprocessors/args.ts +++ b/src/handler/utils/preprocessors/args.ts @@ -39,7 +39,7 @@ export namespace Utils { * @param {string} sep * @returns {Ok} */ - export function toArr(arg: string, sep: string) : ArgType { + export function toArr(arg: string, sep: string = " ") : ArgType { return Ok(arg.split(sep)); }