Skip to content

Commit

Permalink
Fix inconsistent naming of CLI arguments on *nix
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberAndrii authored Jul 26, 2024
1 parent d061d7e commit a6a5e8f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions assets/nix/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,19 @@ doorstop_bool() {
# Read from command line
while :; do
case "$1" in
--doorstop_enabled)
--doorstop_enabled) # For backwards compatibility. Renamed to --doorstop-enabled
enabled="$(doorstop_bool "$2")"
shift
;;
--doorstop_target_assembly)
--doorstop_target_assembly) # For backwards compatibility. Renamed to --doorstop-target-assembly
target_assembly="$2"
shift
;;
--doorstop-enabled)
enabled="$(doorstop_bool "$2")"
shift
;;
--doorstop-target-assembly)
target_assembly="$2"
shift
;;
Expand Down

0 comments on commit a6a5e8f

Please sign in to comment.