]> arthur.barton.de Git - bup.git/blobdiff - cmd/ls-cmd.py
configure.inc: name the tmpdir with a configure- prefix
[bup.git] / cmd / ls-cmd.py
index 913dab78d5bd585ff225f2392cff0996eba6860f..9180da3a7635d2df45b7b7c6c1d0806ba9924a38 100755 (executable)
@@ -5,6 +5,7 @@ exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
 
+from __future__ import absolute_import
 import sys
 
 from bup import git, ls
@@ -13,5 +14,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)