From 2e08499ce38ca7bf2f368c4dc321ef8a6f287530 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 14 Dec 2019 18:25:18 +0100 Subject: Make genconfig and standard_kconfig() consistent Tweak messages and variable names to match. --- genconfig.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'genconfig.py') diff --git a/genconfig.py b/genconfig.py index 3482673..d0a8870 100755 --- a/genconfig.py +++ b/genconfig.py @@ -100,8 +100,8 @@ only supported for backwards compatibility). """) parser.add_argument( - "kconfig_filename", - metavar="KCONFIG_FILENAME", + "kconfig", + metavar="KCONFIG", nargs="?", default="Kconfig", help="Top-level Kconfig file (default: Kconfig)") @@ -109,7 +109,7 @@ only supported for backwards compatibility). args = parser.parse_args() - kconf = kconfiglib.Kconfig(args.kconfig_filename, suppress_traceback=True) + kconf = kconfiglib.Kconfig(args.kconfig, suppress_traceback=True) kconf.load_config() if args.header_path is None: -- cgit v1.2.3