+ log('Usage: bup <command> <options...>\n\n')
+ common = dict(
+ ftp = 'Browse backup sets using an ftp-like client',
+ fsck = 'Check backup sets for damage and add redundancy information',
+ fuse = 'Mount your backup sets as a filesystem',
+ help = 'Print detailed help for the given command',
+ index = 'Create or display the index of files to back up',
+ join = 'Retrieve a file backed up using "bup split"',
+ ls = 'Browse the files in your backup sets',
+ midx = 'Index objects to speed up future backups',
+ save = 'Save files into a backup set (note: run "bup index" first)',
+ split = 'Split a single file into its own backup set',
+ )
+
+ log('Common commands:\n')
+ for cmd,synopsis in sorted(common.items()):
+ print ' %-10s %s' % (cmd, synopsis)
+ log('\n')
+
+ log('Other available commands:\n')
+ cmds = []