Added throw for duplicate subcommands in every command except search.