Skip to content

Commit

Permalink
update: Adjusting line feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxxxliil authored May 18, 2021
1 parent 9500a65 commit e9313a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion db-live-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
<?php



/*
by xxxxxliil@github
db-live-test.php released under MIT License.
*/



$longopts = array(
"dsn:",
"help",
Expand All @@ -18,7 +21,6 @@

$optind = null;


$shortopts = "";
$shortopts .= "d:";
$shortopts .= "h";
Expand Down Expand Up @@ -72,6 +74,7 @@ function check_repeated_option($option1, $option2) {
}



$db_options = array(
"dsn" => check_repeated_option($cmd_options["d"] ?? null, $cmd_options["dsn"] ?? null),
"password" => check_repeated_option($cmd_options["p"] ?? null, $cmd_options["password"] ?? null),
Expand Down

0 comments on commit e9313a5

Please sign in to comment.