OSDN Git Service

branding: the project name is 'WP-CLI', not 'wp-cli'
authorscribu <mail@scribu.net>
Sun, 9 Jun 2013 18:41:20 +0000 (21:41 +0300)
committerscribu <mail@scribu.net>
Sun, 9 Jun 2013 18:43:59 +0000 (21:43 +0300)
It's an abbreviation for 'WordPress Command-Line Interface'

README.md
php/boot-fs.php
php/class-wp-cli.php
php/commands/_sys.php

index 51151a1..a85012c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ WP-CLI
 
 [![Build Status](https://travis-ci.org/wp-cli/wp-cli.png?branch=master)](https://travis-ci.org/wp-cli/wp-cli)
 
-wp-cli is a set of command-line tools for managing WordPress installations.
+WP-CLI is a set of command-line tools for managing WordPress installations.
 
 Where can I get more info?
 --------------------------
index a3311c8..a227bfe 100644 (file)
@@ -8,7 +8,7 @@ if ( 'cli' !== PHP_SAPI ) {
 }
 
 if ( version_compare( PHP_VERSION, '5.3.0', '<' ) ) {
-    printf( "Error: wp-cli requires PHP %s or newer. You are running version %s.\n", '5.3.0', PHP_VERSION );
+    printf( "Error: WP-CLI requires PHP %s or newer. You are running version %s.\n", '5.3.0', PHP_VERSION );
        die(-1);
 }
 
index 1daf815..71d87d8 100644 (file)
@@ -39,7 +39,7 @@ class WP_CLI {
        }
 
        /**
-        * Add a command to the wp-cli list of commands
+        * Add a command to the WP-CLI list of commands
         *
         * @param string $name The name of the command that will be used in the cli
         * @param string $class The command implementation
index af2b1b7..95aabdd 100644 (file)
@@ -23,7 +23,7 @@ class Sys_Command extends WP_CLI_Command {
        }
 
        function version() {
-               WP_CLI::line( 'wp-cli ' . WP_CLI_VERSION );
+               WP_CLI::line( 'WP-CLI ' . WP_CLI_VERSION );
        }
 
        function info() {
@@ -32,9 +32,9 @@ class Sys_Command extends WP_CLI_Command {
                WP_CLI::line( "PHP binary:\t" . $php_bin );
                WP_CLI::line( "PHP version:\t" . PHP_VERSION );
                WP_CLI::line( "php.ini used:\t" . get_cfg_var( 'cfg_file_path' ) );
-               WP_CLI::line( "wp-cli root:\t" . WP_CLI_ROOT );
-               WP_CLI::line( "wp-cli config:\t" . WP_CLI::get_config_path() );
-               WP_CLI::line( "wp-cli version:\t" . WP_CLI_VERSION );
+               WP_CLI::line( "WP-CLI root:\t" . WP_CLI_ROOT );
+               WP_CLI::line( "WP-CLI config:\t" . WP_CLI::get_config_path() );
+               WP_CLI::line( "WP-CLI version:\t" . WP_CLI_VERSION );
        }
 
        /**