From 1b1be354eee3ad35bbac32d87005479fe7955e3a Mon Sep 17 00:00:00 2001 From: scribu Date: Sat, 20 Apr 2013 00:14:37 +0300 Subject: [PATCH] make --parent_theme mandatory --- php/commands/scaffold.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/php/commands/scaffold.php b/php/commands/scaffold.php index 4b76b6ce..281f97e4 100644 --- a/php/commands/scaffold.php +++ b/php/commands/scaffold.php @@ -151,7 +151,7 @@ class Scaffold_Command extends WP_CLI_Command { * * @subcommand child-theme * - * @synopsis [--theme_name=] [--parent_theme=<title>] [--author=<full-name>] [--author_uri=<http-url>] [--theme_uri=<http-url>] [--activate] + * @synopsis <slug> --parent_theme=<title> [--theme_name=<title>] [--author=<full-name>] [--author_uri=<http-url>] [--theme_uri=<http-url>] [--activate] */ function child_theme( $args, $assoc_args ) { @@ -160,7 +160,6 @@ class Scaffold_Command extends WP_CLI_Command { $data = wp_parse_args( $assoc_args, array( 'theme_name' => ucfirst( $theme_slug ), - 'parent_theme' => 'twentytwelve', 'author' => "Me", 'author_uri' => "", 'theme_uri' => "" -- 2.11.0