We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6e7b5 commit 23fe5a5Copy full SHA for 23fe5a5
lib/getopt.ps1
@@ -23,6 +23,7 @@ function getopt($argv, $shortopts, $longopts) {
23
$arg = $argv[$i]
24
# don't try to parse array arguments
25
if($arg -is [array]) { $rem += ,$arg; continue }
26
+ if($arg -is [int]) { $rem += $arg; continue }
27
28
if($arg.startswith('--')) {
29
$name = $arg.substring(2)
0 commit comments