Browse Source

hack to handle passthrough args with hyphens

jmelesky 7 years ago
parent
commit
028c9567c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      punt

+ 1 - 1
punt

@@ -57,7 +57,7 @@ if __name__ == '__main__':
     args = parser.parse_args()
 
     if 'arg' in var(args):
-        run(args.bottle, args.app, args.arg)
+        run(args.bottle, args.app, [ x.lstrip() for x in args.arg])
     else:
         run(args.bottle, args.app, [])