Skip to content

Commit 6431a45

Browse files
committed
ciq-cherry-pick.py: Make the --sha argument mandatory
Signed-off-by: Roxana Nicolescu <rnicolescu@ciq.com>
1 parent 42b21f6 commit 6431a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ciq-cherry-pick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def full_cherry_pick(sha, ciq_tags, jira_ticket, upstream_ref):
142142
if __name__ == "__main__":
143143
print("CIQ custom cherry picker")
144144
parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter)
145-
parser.add_argument("--sha", help="Target SHA1 to cherry-pick")
145+
parser.add_argument("--sha", help="Target SHA1 to cherry-pick", required=True)
146146
parser.add_argument("--ticket", help="Ticket associated to cherry-pick work, comma separated list is supported.")
147147
parser.add_argument(
148148
"--ciq-tag",

0 commit comments

Comments
 (0)