have_cmd
if (have_cmd(argc - rep_args, &argv[rep_args]) != 0) {
if (have_cmd(argc - 1, &argv[1]) != 0) {