complete-x-cstring-n'test (count (commandline -xpc)) -ge 2'-n'string match -qr split0\?\$ -- (commandline -xpc)[2]'-s m -l max -a"(seq 1 10)"-d"Specify maximum number of splits"
complete-x-cstring-n'test (count (commandline -xpc)) -ge 2'-n'string match -qr split0\?\$ -- (commandline -xpc)[2]'-s f -l fields -a"(seq 1 10)"-d"Specify fields"
complete-f-cstring-n'test (count (commandline -xpc)) -ge 2'-n'string match -qr split0\?\$ -- (commandline -xpc)[2]'-s r -l right -d"Split right-to-left"
complete-f-cstring-n'test (count (commandline -xpc)) -ge 2'-n'string match -qr split0\?\$ -- (commandline -xpc)[2]'-s n -l no-empty -d"Empty results excluded"
complete-f-cstring-n"test (count (commandline -xpc)) -lt 2"-a trim
complete-f-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] trim"-s l -l left -d"Trim only leading chars"
complete-f-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] trim"-s r -l right -d"Trim only trailing chars"
complete-f-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] trim"-s c -l chars -d"Specify the chars to trim (default: whitespace)"-x
complete-x-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] repeat"-s m -l max -xa"(seq 1 10)"-d"Maximum number of printed chars"
complete-f-cstring-n"test (count (commandline -xpc)) -lt 2"-a pad
complete-x-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] pad"-s r -l right -d"Pad right instead of left"
complete-x-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] pad"-s c -l char -x-d"Character to use for padding"
complete-x-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] pad"-s w -l width -x-d"Integer width of the result, default is maximum width of inputs"
complete-x-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] shorten"-s l -l left -d"Remove from the left on"
complete-x-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] shorten"-s c -l char -x-d"Characters to use as ellipsis"
complete-x-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] shorten"-s m -l max -x-d"Integer width of the result, default is minimum non-zero width of inputs"
complete-f-cstring-n"test (count (commandline -xpc)) -ge 2"-n"contains -- (commandline -xpc)[2] shorten"-s N -l no-newline -d"Only keep one line of each input"