OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b87528f
)
fix 'Warning: unknown --info parameter'
author
scribu
<mail@scribu.net>
Thu, 21 Nov 2013 09:32:18 +0000
(11:32 +0200)
committer
scribu
<mail@scribu.net>
Thu, 21 Nov 2013 09:32:18 +0000
(11:32 +0200)
php/WP_CLI/Runner.php
patch
|
blob
|
history
diff --git
a/php/WP_CLI/Runner.php
b/php/WP_CLI/Runner.php
index
1782695
..
10c0614
100644
(file)
--- a/
php/WP_CLI/Runner.php
+++ b/
php/WP_CLI/Runner.php
@@
-322,6
+322,7
@@
class Runner {
foreach ( $special_flags as $key ) {
if ( isset( $assoc_args[ $key ] ) ) {
$args = array( 'cli', $key );
+ unset( $assoc_args[ $key ] );
break;
}
}