summaryrefslogtreecommitdiff
path: root/examples/merge_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/merge_config.py')
-rw-r--r--examples/merge_config.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/merge_config.py b/examples/merge_config.py
index f3fa471..bcc627b 100644
--- a/examples/merge_config.py
+++ b/examples/merge_config.py
@@ -59,9 +59,12 @@
# # CONFIG_FOO is not set
# CONFIG_BAR=y
# CONFIG_BAZ="baz string"
-from kconfiglib import Kconfig, Symbol, BOOL, TRISTATE, TRI_TO_STR
+
import sys
+from kconfiglib import Kconfig, Symbol, BOOL, TRISTATE, TRI_TO_STR
+
+
if len(sys.argv) < 4:
sys.exit("usage: merge_config.py Kconfig merged_config config1 [config2 ...]")