support de -- pour passer des mots de passe commençant par -

This commit is contained in:
Jephté Clain 2014-02-27 12:10:59 +04:00
parent 97587145bc
commit a74ad35572
1 changed files with 1 additions and 0 deletions

View File

@ -4779,6 +4779,7 @@ public class upassword {
}
i += shift;
} else {
if (arg.equals("--")) i++;
String[] newargs = new String[args.length - i];
System.arraycopy(args, i, newargs, 0, newargs.length);
args = newargs;