Discard unnecessary console outputs of subcommand lookup.