diff --git a/.gitignore b/.gitignore index c68933aee0e9b8ff5a4d2f34216fb2b68a7a8bc8..6d54f18c28b134d2003fe414b50b9319998a7d7e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ external/ build src/include_checks.php src/amcli__build.php +build_postactions.php diff --git a/src/amcli.php b/src/amcli.php index c721f1991aa91bbbbdef599930a18ebb91d5d66e..25df0035856c86da81fadb725ee7bf4c06d9502c 100755 --- a/src/amcli.php +++ b/src/amcli.php @@ -238,7 +238,7 @@ if (isset($ARGS['-h']) || isset($ARGS['--help'])) { // show builtin checks if (isset($ARGS['-l']) || isset($ARGS['--list'])) { _wd("Showing checks"); - echo $sPreSpace . implode("\n$sPreSpace", $oMonitor->listChecks()); + echo $sPreSpace . implode("\n$sPreSpace", $oMonitor->listChecks())."\n"; exit(0); } @@ -247,7 +247,7 @@ if (isset($ARGS['-m']) || isset($ARGS['--modules'])) { _wd("Showing php modules"); $aMods = get_loaded_extensions(); sort($aMods); - echo $sPreSpace . implode("\n$sPreSpace", $aMods); + echo $sPreSpace . implode("\n$sPreSpace", $aMods)."\n"; exit(0); }