mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-21 00:39:37 +00:00
Fix a bug in the handling of the `--aditi' option -- it was
Estimated hours taken: 0.25 scripts/c2init.in: Fix a bug in the handling of the `--aditi' option -- it was performing a shift even though `--aditi' does not take an argument.
This commit is contained in:
@@ -87,9 +87,9 @@ Environment variables:
|
||||
while true; do
|
||||
case "$1" in
|
||||
-a|--aditi)
|
||||
aditi_opt="-a"; shift;;
|
||||
aditi_opt="-a";;
|
||||
-a-|--no-aditi)
|
||||
aditi_opt=""; shift;;
|
||||
aditi_opt="";;
|
||||
-c|--max-calls)
|
||||
maxcalls="$2"; shift;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user