summaryrefslogtreecommitdiff
path: root/examples/oldconfig.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-02-07 05:00:56 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-02-07 05:10:25 +0100
commit7cdfe6dda5435e85aec2ab0410d58fcae6ae4071 (patch)
treebae955fbd7742ef656281be12ee3de3a58d669a2 /examples/oldconfig.py
parent4b31adf8efbb5341c369b32022401df65f419362 (diff)
Give symbol locations in merge_config.py warnings
Helpful for debugging. Piggyback some small fixes: - Don't imply that merge_config.py is an executable file or that it only runs under Python 3. Remove the hashbang line and fix the example in the overview. - Add some #'s to the overview .config files that had accidentally been left out. - Fix a questionable sentence in oldconfig.py's name_and_loc_str() docstring.
Diffstat (limited to 'examples/oldconfig.py')
-rw-r--r--examples/oldconfig.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/oldconfig.py b/examples/oldconfig.py
index aa8e253..737ddae 100644
--- a/examples/oldconfig.py
+++ b/examples/oldconfig.py
@@ -60,7 +60,7 @@
#
# $ touch .config # Run with empty .config
#
-# $ python oldconfig.py Kconfig
+# $ python(3) oldconfig.py Kconfig
# BOOL_SYM prompt (BOOL_SYM, defined at Kconfig:5) [n/Y] foo
# Invalid tristate value
# BOOL_SYM prompt (BOOL_SYM, defined at Kconfig:5) [n/Y] n
@@ -118,7 +118,7 @@ def print_help(node):
def name_and_loc_str(sym):
"""
Helper for printing the symbol name along with the location(s) in the
- Kconfig files where it is defined
+ Kconfig files where the symbol is defined
"""
return "{}, defined at {}".format(
sym.name,