]> arthur.barton.de Git - bup.git/blob - cmd/ls-cmd.py
Add -n, -A, -F, --file-type, --numeric-ids and detailed -l to "bup ls".
[bup.git] / cmd / ls-cmd.py
1 #!/usr/bin/env python
2 import sys
3 from bup import git, vfs, ls
4 from bup.helpers import *
5
6
7 git.check_repo_or_die()
8 top = vfs.RefList(None)
9
10 # Check out lib/bup/ls.py for the opt spec
11 ret = ls.do_ls(sys.argv[1:], top, default='/', spec_prefix='bup ')
12 sys.exit(ret)