Explorar el Código

v0.2.0 - a bit more option parsing; fix run with empty JSON options; added more excluded files; changed excluded parsing; a bit more error messages; added PHP hashbang and made file executable

master
padre
commit
dd3c912aeb
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. +2
    -1
      dir2json.php

+ 2
- 1
dir2json.php Ver fichero

@@ -47,7 +47,8 @@ function dir2json($dir)
}

// Long and short help opts
if ($argv[1] === "-h" || $argv[1] === "--help")
$param = isset($argv[1]) ? $argv[1] : '';
if ($param === "-h" || $param === "--help")
{
echo <<<EOT
------------------------------------------------------


Cargando…
Cancelar
Guardar