소스 검색

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
부모
커밋
dd3c912aeb
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      dir2json.php

+ 2
- 1
dir2json.php 파일 보기

@@ -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
------------------------------------------------------


불러오는 중...
취소
저장