]> arthur.barton.de Git - bup.git/blobdiff - cmd/ls-cmd.py
Add compat.items() and use it
[bup.git] / cmd / ls-cmd.py
index 913dab78d5bd585ff225f2392cff0996eba6860f..7dacce708a5c7ad7c4a9448800e4f2f748d659c5 100755 (executable)
@@ -13,5 +13,5 @@ from bup import git, ls
 git.check_repo_or_die()
 
 # Check out lib/bup/ls.py for the opt spec
-rc = ls.do_ls(sys.argv[1:], default='/', spec_prefix='bup ')
+rc = ls.via_cmdline(sys.argv[1:])
 sys.exit(rc)