Explorar el Código

Merge branch 'master' of github.com:borgbackup/borg

Thomas Waldmann hace 9 años
padre
commit
d6b43a7346
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      borg/archiver.py

+ 4 - 1
borg/archiver.py

@@ -472,7 +472,10 @@ class Archiver:
             for archive_info in manifest.list_archive_infos(sort_by='ts'):
                 if args.prefix and not archive_info.name.startswith(args.prefix):
                     continue
-                print(format_archive(archive_info))
+                if args.short:
+                    print(archive_info.name)
+                else:
+                    print(format_archive(archive_info))
         return self.exit_code
 
     def do_info(self, args):