diff --git a/features/network-meta.feature b/features/network-meta.feature index 7fffd042..a3a1b288 100644 --- a/features/network-meta.feature +++ b/features/network-meta.feature @@ -16,3 +16,14 @@ Feature: Manage network-wide custom fields. This is not a multisite install """ And the return code should be 1 + + Scenario: Suggest 'meta' when 'option' subcommand is run + Given a WP install + + When I try `wp network option` + Then STDERR should contain: + """ + Error: 'option' is not a registered subcommand of 'network'. See 'wp help network' for available subcommands. + Did you mean 'meta'? + """ + And the return code should be 1