make: Fix df-* usage, remove Python3 note

This commit is contained in:
FeRD (Frank Dana) 2022-12-15 07:44:08 -05:00 committed by Bradley Sepos
parent 663f725f43
commit 48f221cfe6
No known key found for this signature in database
GPG Key ID: DEADE2F57D42D9C7
3 changed files with 3 additions and 5 deletions

View File

@ -73,7 +73,7 @@ class Tool(hb_distfile.Tool):
def __init__(self):
super(Tool, self).__init__()
self.parser.prog = self.name
self.parser.usage = '%prog [OPTIONS] URL...'
self.parser.usage = '%(prog)s [OPTIONS] URL...'
self.parser.description = 'Fetch and verify distfile data integrity.'
self.parser.add_argument('--disable', default=False, action='store_true', help='do nothing and exit with error')
self.parser.add_argument('--jobs', default=1, action='store', metavar='N', help='allow N download jobs at once')

View File

@ -36,7 +36,7 @@ class Tool(hb_distfile.Tool):
def __init__(self):
super(Tool, self).__init__()
self.parser.prog = self.name
self.parser.usage = '%prog [OPTIONS] FILE'
self.parser.usage = '%(prog)s [OPTIONS] FILE'
self.parser.description = 'Verify distfile data integrity.'
self.parser.add_argument('--disable', default=False, action='store_true', help='do nothing and exit without error')
self.parser.add_argument('--sha256', default=None, action='store', metavar='HASH', help='verify sha256 HASH against data')

View File

@ -1,8 +1,6 @@
###############################################################################
##
## Coded for minimum version of Python 2.7 .
##
## Python3 is incompatible.
## This script is coded for Python 2.7 through Python 3.x
##
## Authors: konablend
##