summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
Diffstat (limited to 'summain')
-rwxr-xr-xsummain3
1 files changed, 3 insertions, 0 deletions
diff --git a/summain b/summain
index 7082594..1525570 100755
--- a/summain
+++ b/summain
@@ -39,6 +39,9 @@ class Summain(cliapp.Application):
'MD5, SHA1, SHA224, SHA256, SHA384, SHA512; '
'use once per checksum type '
'(default is SHA1)')
+ self.settings.choice(['output-format', 'f'],
+ ['rfc822', 'csv', 'json'],
+ 'choose output format (rfc822, csv, json)')
def files(self, root):
if os.path.isdir(root):