Revision | 879 (tree) |
---|---|
Zeit | 2009-06-20 21:48:08 |
Autor | ![]() |
- changed default plugin base directory name.
- changed help messsage of create-plugin command.
@@ -32,7 +32,7 @@ | ||
32 | 32 | function &generate($basedir, $types = array(), $no_ini = false, $plugin_name) |
33 | 33 | { |
34 | 34 | // create plugin directory |
35 | - $plugin_dir = "$basedir/$plugin_name"; | |
35 | + $plugin_dir = "$basedir/plugin"; | |
36 | 36 | if (!file_exists($plugin_dir)) { |
37 | 37 | Ethna_Util::mkdir($plugin_dir, 0755); |
38 | 38 | } else { |
@@ -80,7 +80,7 @@ | ||
80 | 80 | function getUsage() |
81 | 81 | { |
82 | 82 | return <<<EOS |
83 | -ethna {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--noini] plugin-name | |
83 | +ethna {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--no-inifile] plugin-name | |
84 | 84 | type is as follows (separated by comma): |
85 | 85 | f = Filter (default), |
86 | 86 | v = Validator (default), |
@@ -99,7 +99,7 @@ | ||
99 | 99 | { |
100 | 100 | return <<<EOS |
101 | 101 | make plugin package: |
102 | - {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--noini] plugin-name | |
102 | + {$this->id} [-b|--basedir=dir] [-t|--type=f,v,sb,sf,sm...] [-n|--no-inifile] plugin-name | |
103 | 103 | EOS; |
104 | 104 | } |
105 | 105 | // }}} |