com php-src: Fix ext_skel's help, the arguments p assed are using a space, not an equal sign for values: ext/ext_skel.php
| From: | Kalle Sommer Nielsen | Date: | Sun, 23 Jul 2017 09:28:27 +0000 |
| Subject: | com php-src: Fix ext_skel's help, the arguments p assed are using a space, not an equal sign for values: ext/ext_skel.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-98739@lists.php.net to get a copy of this message | ||
Commit: 216d711224194ab2d50e473d039eb1762c3fb5f7
Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 23 Jul 2017 11:28:27 +0200
Parents: e960ba64009e72e57cc760689a832670efee1d93
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=216d711224194ab2d50e473d039eb1762c3fb5f7
Log:
Fix ext_skel's help, the arguments passed are using a space, not an equal sign for values
Changed paths:
M ext/ext_skel.php
Diff:
diff --git a/ext/ext_skel.php b/ext/ext_skel.php
index 4528a10..b12c1af 100644
--- a/ext/ext_skel.php
+++ b/ext/ext_skel.php
@@ -30,15 +30,15 @@ function error($message) {
/* {{{ print_help
*/
function print_help() {
- printf('php ext_skel.php --ext=<name> [--experimental] [--author=<name>]%s',
PHP_EOL);
- printf(' [--dir=<path>] [--std] [--onlyunix]%s', PHP_EOL);
+ printf('php ext_skel.php --ext <name> [--experimental] [--author <name>]%s',
PHP_EOL);
+ printf(' [--dir <path>] [--std] [--onlyunix]%s', PHP_EOL);
printf(' [--onlywindows] [--help]%1$s%1$s', PHP_EOL);
- printf(' --ext=<name> The name of the extension defined as <name>%s',
PHP_EOL);
+ printf(' --ext <name> The name of the extension defined as <name>%s',
PHP_EOL);
printf(' --experimental Passed if this extension is experimental, this creates%s',
PHP_EOL);
printf(' the EXPERIMENTAL file in the root of the extension%s',
PHP_EOL);
- printf(' --author=<name> Your name, this is used if --header is passed
and%s', PHP_EOL);
+ printf(' --author <name> Your name, this is used if --header is passed
and%s', PHP_EOL);
printf(' for the CREDITS file%s', PHP_EOL);
- printf(' --dir=<path> Path to the directory for where extension should be%s',
PHP_EOL);
+ printf(' --dir <path> Path to the directory for where extension should be%s',
PHP_EOL);
printf(' created. Defaults to the directory of where this
script%s', PHP_EOL);
printf(' lives%s', PHP_EOL);
printf(' --std If passed, the standard header and vim rules footer used%s', PHP_EOL);