瀏覽代碼

setup.py: fix build_usage not processing all commands

Marian Beermann 8 年之前
父節點
當前提交
1c261f6b7b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -185,7 +185,7 @@ class build_usage(Command):
             print('generating help for %s' % command)
 
             if self.generate_level(command + " ", parser, Archiver):
-                break
+                continue
 
             with open('docs/usage/%s.rst.inc' % command.replace(" ", "_"), 'w') as doc:
                 doc.write(".. IMPORTANT: this file is auto-generated from borg's built-in help, do not edit!\n\n")