Add string 'repeat' subcommand

This feature add the ability to repeat a string a given number of times.
For example: string repeat -n 3 foo
This commit is contained in:
Greynad
2017-03-07 15:39:21 +01:00
committed by Kurtis Rader
parent e0f62c178f
commit 98f4e49669
6 changed files with 208 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
string repeat: Invalid count value '-1'
string repeat: Invalid max value '-1'
string repeat: Argument 'notanumber' is not a number
string repeat: Argument 'notanumber' is not a number
string repeat: Too many arguments
string repeat: Expected argument
string repeat: Unknown option '-l'