Skip to content

Commit a676503

Browse files
committed
made args required
1 parent 9b7d03b commit a676503

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

raffle.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,10 @@ def parse_args():
9090
9191
"""
9292
parser = argparse.ArgumentParser()
93-
parser.add_argument('-i', "--csvin", help="the location of the csv input")
94-
parser.add_argument('-w', "--total_winners", type=int, help="total number of selected winners")
95-
parser.add_argument('-o', "--csvout", help="csv output file")
96-
parser.add_argument('-p', "--htmlout", help="html output file")
93+
parser.add_argument('-i', "--csvin", help="the location of the csv input",required=True)
94+
parser.add_argument('-w', "--total_winners", type=int, help="total number of selected winners",required=True)
95+
parser.add_argument('-o', "--csvout", help="csv output file",required=True)
96+
parser.add_argument('-p', "--htmlout", help="html output file",required=True)
9797
return parser.parse_args()
9898

9999
def main():

0 commit comments

Comments
 (0)