Skip to content

Commit

Permalink
Fix inconsistent naming of CLI arguments on *nix (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberAndrii authored Jul 28, 2024
1 parent d061d7e commit 5607be4
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 5607be4

Please # to comment.