summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2011-08-10 17:49:48 +0100
committerLars Wirzenius <liw@liw.fi>2011-08-10 17:49:48 +0100
commit4ed5a0cff2336305b6247ff3dd2475b91e3d20f8 (patch)
tree0adb135c0b480e77c899a91656593efa0a187788
parentafe5996e78b214978c09cb494c678b1e437b3248 (diff)
downloadseivot-4ed5a0cff2336305b6247ff3dd2475b91e3d20f8.tar.gz
Change seivots-summary output to be a bit clearer.
-rwxr-xr-xseivots-summary4
1 files changed, 3 insertions, 1 deletions
diff --git a/seivots-summary b/seivots-summary
index 5326534..981f89e 100755
--- a/seivots-summary
+++ b/seivots-summary
@@ -99,9 +99,11 @@ class SeivotsSummary(cliapp.Application):
filename)
for group, caption in self.find_groups(seivots):
+ title = 'Profile: %s' % caption
+ self.output.write('%s\n%s\n\n' % (title, '-' * len(title)))
for op in ['backup', 'restore', 'list_files', 'forget']:
+ self.output.write('Operation: %s\n\n' % op)
table = self.make_table(group, op)
- table.caption = '%s: %s' % (op, caption)
table.write_plaintext(self.output)
self.output.write('\n')