Re: [RFC/POC] multiple CONFIG y/m/n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 9 Apr 2006, Randy.Dunlap wrote:

> +void usage(char *progname)
> +{
> +	printf("%s [-o|-s|-d|-D|-n|-m|-y|-r] Kconfig_filename\n", progname);

|-D <config>|

> +	printf("  -o: oldconfig: ask only about new config symbols\n");
> +	printf("  -s: silentoldconfig: don't ask about any symbol values\n");

It does ask about them, but suppresses a lot of prints.

> +	printf("  -d: defconfig: use default symbol values\n");

To be precise it uses arch/$ARCH/defconfig as default values.

> +	printf("  -n: set unknown symbol values to 'n'\n");
> +	printf("  -m: set unknown symbol values to 'm'\n");
> +	printf("  -y: set unknown symbol values to 'y'\n");

It actually tries to set all values to n/m/y.

> @@ -546,8 +564,8 @@ int main(int ac, char **av)
>  			break;
>  		case 'h':
>  		case '?':
> -			printf("%s [-o|-s] config\n", av[0]);
> -			exit(0);
> +			usage(av[0]);
> +			break;

That's indeed a little obsolete. :-)

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux