Переглянути джерело

getopt longopts weren't specified correctly, couldn't call dulwich init --bare

Chris Eberle 13 роки тому
батько
коміт
f5acf47848
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      bin/dulwich

+ 1 - 1
bin/dulwich

@@ -114,7 +114,7 @@ def cmd_dump_index(args):
 
 
 def cmd_init(args):
-    opts, args = getopt(args, "", ["--bare"])
+    opts, args = getopt(args, "", ["bare"])
     opts = dict(opts)
 
     if args == []: