summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
Diffstat (limited to 'summain')
-rwxr-xr-xsummain7
1 files changed, 4 insertions, 3 deletions
diff --git a/summain b/summain
index db12eda..863dc5d 100755
--- a/summain
+++ b/summain
@@ -15,11 +15,12 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import cliapp
import csv
import json
import os
+import cliapp
+
import summainlib
@@ -123,7 +124,7 @@ class Summain(cliapp.Application):
['checksum', 'c'],
'which checksums to compute: '
'MD5, SHA1, SHA224, SHA256, SHA384, SHA512; '
- 'use once per checksum type (default is SHA1)')
+ 'use once per checksum type (default is SHA256)')
self.settings.choice(
['output-format', 'f'],
['rfc822', 'csv', 'json'],
@@ -145,7 +146,7 @@ class Summain(cliapp.Application):
def process_args(self, args):
checksums = [x.upper()
- for x in self.settings['checksum'] or ['SHA1']]
+ for x in self.settings['checksum'] or ['SHA256']]
fmt = self.new_formatter(checksums, self.find_roots(args))
fmt.write()