udebug-cli: cosmetic fix
[project/udebug.git] / udebug-cli
index 9c4279d0efd046ce6bd367c3265916f1b6fe78ed..0fbf3a0ddc66cdb5ca3a48a83c2bfe484dc336bd 100755 (executable)
@@ -46,7 +46,7 @@ while (substr(ARGV[0], 0, 1) == "-") {
        let opt = substr(shift(ARGV), 1);
        switch(opt) {
        case 'd':
-               opts.duration = 1.0 * shift(ARGV);
+               opts.duration = +shift(ARGV);
                break;
        case 's':
                opts.socket = shift(ARGV);