Skip to content

Commit 005a826

Browse files
committed
fix: implement print_the_help
1 parent bbaf57b commit 005a826

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/material_map/run_material_map_validation.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,18 @@ export ACTS_SEQUENCER_DISABLE_FPEMON=1
7171
# Default arguments
7272
nevents=1000
7373
nparticles=5000
74+
75+
function print_the_help {
76+
echo "USAGE: [--nevents <int>] [--nparticles <int>]"
77+
echo "OPTIONAL ARGUMENTS:"
78+
echo " --nevents Number of events (default: $nevents)"
79+
echo " --nparticles Number of particles per event (default: $nparticles)"
80+
echo " -h,--help Print this message"
81+
echo ""
82+
echo " Run material map validation."
83+
exit
84+
}
85+
7486
while [[ $# -gt 1 ]]
7587
do
7688
key="$1"

0 commit comments

Comments
 (0)