WP-CLI version 0.14.0 doesnt allow --allow-root on rewrite structure command, FYI: https://github.com/wp-cli/wp-cli/issues/1043