Skip to content

Commit 561c6b4

Browse files
committed
undo unnecessary changes
1 parent 38a6486 commit 561c6b4

File tree

2 files changed

+6
-98
lines changed

2 files changed

+6
-98
lines changed

library/Cargo.lock

+1-89
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/run-kani.sh

+5-9
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@ usage() {
1515
# Initialize variables
1616
command_args=""
1717
path=""
18-
run_command="verify-std" # Default value
18+
run_command="verify-std"
1919

2020
# Parse command line arguments
21+
# TODO: Improve parsing with getopts
2122
while [[ $# -gt 0 ]]; do
2223
case $1 in
2324
-h|--help)
@@ -42,14 +43,9 @@ while [[ $# -gt 0 ]]; do
4243
fi
4344
;;
4445
--kani-args)
45-
if [[ $# -gt 1 ]]; then
46-
shift
47-
command_args="$@"
48-
break
49-
else
50-
echo "Error: --kani-args requires additional arguments"
51-
usage
52-
fi
46+
shift
47+
command_args="$@"
48+
break
5349
;;
5450
*)
5551
echo "Error: Unknown option $1"

0 commit comments

Comments
 (0)