]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/bup
bup: don't print subcommands as b'cmd' in help with py3
[bup.git] / lib / cmd / bup
index c98d7e7eb62a368a6db7f826762dc9e903e50507..8f27c0faa8f35a85ecdc9b1aa0bf77ec6ae3394b 100755 (executable)
@@ -68,7 +68,7 @@ def usage(msg=""):
         if c.startswith(b'bup-') and c.find(b'.') < 0:
             cname = c[4:].decode('iso-8859-1')
             if cname not in common:
-                cmds.append(c[4:])
+                cmds.append(c[4:].decode(errors='backslashreplace'))
     log(columnate(cmds, '    '))
     log('\n')