]> arthur.barton.de Git - bup.git/blobdiff - main.py
git.py: error when repo's parent dir absent
[bup.git] / main.py
diff --git a/main.py b/main.py
index 7a7e426ff8800ce5eba951beba9474d8191548ea..feb3013edc1b2ffa64adf77b74bd40d7a6159387 100755 (executable)
--- a/main.py
+++ b/main.py
@@ -26,6 +26,8 @@ os.environ['BUP_RESOURCE_PATH'] = resourcepath
 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] '
@@ -37,7 +39,9 @@ def usage():
         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',
     )