[LTP] [PATCH 29/31] lib: Remove -C option and self_exec.c

Cyril Hrubis chrubis@suse.cz
Thu Apr 11 18:02:43 CEST 2024


Hi!
>  static void parse_opts(int argc, char *argv[])
>  {
>  	unsigned int i, topts_len = count_options();
> @@ -704,15 +698,6 @@ static void parse_opts(int argc, char *argv[])
>  			else
>  				duration = SAFE_STRTOF(optarg, 0.1, HUGE_VALF);
>  		break;
> -		case 'V':
> -			fprintf(stderr, "LTP version: " LTP_VERSION "\n");
> -			exit(0);
> -		break;

This should stay.

> -		case 'C':
> -#ifdef UCLINUX
> -			child_args = optarg;
> -#endif
> -		break;
>  		default:
>  			parse_topt(topts_len, opt, optarg);
>  		}
> -- 
> 2.43.0
> 
> 
> -- 
> Mailing list info: https://lists.linux.it/listinfo/ltp

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list