You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parser.add_argument('-c', '--commit', action='store_true', dest='commit', help='Indicate that the version argument is for a commit or branch')
138
+
parser.add_argument('-p', '--pull', action='store_true', dest='pull', help='Indicate that the version argument is the number of a github repository pull request')
138
139
parser.add_argument('-u', '--url', dest='url', default='https://github.com/bitcoin/bitcoin', help='Specify the URL of the repository. Default is %(default)s')
139
140
parser.add_argument('-v', '--verify', action='store_true', dest='verify', help='Verify the Gitian build')
140
141
parser.add_argument('-b', '--build', action='store_true', dest='build', help='Do a Gitian build')
@@ -196,13 +197,21 @@ def main():
196
197
exit(1)
197
198
198
199
# Add leading 'v' for tags
200
+
ifargs.commitandargs.pull:
201
+
raiseException('Cannot have both commit and pull')
0 commit comments