-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Description
All the subcommands on a machine with php 5.5 are listed with underscores instead of the usual dashes. Some subcommands are being cutoff so only part of the subcommand is shown and the cutoff string is what needs to be typed to get the subcommand to execute. I'm seeing this behaviour on a debian 7.5 system running PHP 5.5.13-1~dotdeb.1 (cli) (built: Jun 14 2014 22:10:33) and both wp-cli version 0.15 and 0.15.1
Here's the output of the command wp core
# wp core
usage: wp core config
or: wp core download
or: wp core install
or: wp core is_installed
or: wp core multisite_convert
or: wp core multisite_install
or: wp core update
or: wp core update_db
or: wp core version
Here's wp user:
# wp user
usage: wp user add_cap
or: wp user add_role
or: wp user create
or: wp user delete
or: wp user generate
or: wp user get
or: wp user import_csv
or: wp user list_
or: wp user list_caps
or: wp user meta <command>
or: wp user remove_cap
or: wp user remove_role
or: wp user set_role
or: wp user update
To get a list of users I actually need to type
wp user list_
On systems running php 5.4 and 5.3 the output looks like this:
# wp core
usage: wp core config --dbname=<dbname> --dbuser=<dbuser> [--dbpass=<dbpass>] [--dbhost=<dbhost>] [--dbprefix=<dbprefix>] [--dbcharset=<dbcharset>] [--dbcollate=<dbcollate>] [--locale=<locale>] [--extra-php] [--skip-salts] [--skip-check]
or: wp core download [--path=<path>] [--locale=<locale>] [--version=<version>] [--force]
or: wp core install --url=<url> --title=<site-title> --admin_user=<username> --admin_password=<password> --admin_email=<email>
or: wp core is-installed [--network]
or: wp core multisite-convert [--title=<network-title>] [--base=<url-path>] [--subdomains]
or: wp core multisite-install [--url=<url>] [--base=<url-path>] [--subdomains] --title=<site-title> --admin_user=<username> --admin_password=<password> --admin_email=<email>
or: wp core update [<zip>] [--version=<version>] [--force] [--locale=<locale>]
or: wp core update-db
or: wp core version [--extra]
Anyone know what's going on?
Reactions are currently unavailable