from bup import helpers
from bup.helpers import *
+# after running 'bup newliner', the tty_width() ioctl won't work anymore
+os.environ['WIDTH'] = str(tty_width())
def usage():
log('Usage: bup [-?|--help] [-d BUP_DIR] [--debug] '
help = 'Print detailed help for the given command',
index = 'Create or display the index of files to back up',
on = 'Backup a remote machine to the local one',
+ restore = 'Extract files from a backup set',
save = 'Save files into a backup set (note: run "bup index" first)',
+ tag = 'Tag commits for easier access',
web = 'Launch a web server to examine backup sets',
)