Browse Source

Merge pull request #7127 from ThomasWaldmann/fix-root-paths-master

fix args.paths related argparsing, fixes #6994
TW 2 năm trước cách đây
mục cha
commit
b9ca421e27
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/borg/archiver/create_cmd.py

+ 1 - 1
src/borg/archiver/create_cmd.py

@@ -853,4 +853,4 @@ class CreateMixIn:
         )
 
         subparser.add_argument("name", metavar="NAME", type=NameSpec, help="specify the archive name")
-        subparser.add_argument("paths", metavar="PATH", nargs="*", type=str, help="paths to archive")
+        subparser.add_argument("paths", metavar="PATH", nargs="*", type=str, action="extend", help="paths to archive")