Explorar o código

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

fix args.paths related argparsing, fixes #6994
TW %!s(int64=2) %!d(string=hai) anos
pai
achega
b9ca421e27
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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")