diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-07 05:00:56 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-02-07 05:10:25 +0100 |
| commit | 7cdfe6dda5435e85aec2ab0410d58fcae6ae4071 (patch) | |
| tree | bae955fbd7742ef656281be12ee3de3a58d669a2 /examples/oldconfig.py | |
| parent | 4b31adf8efbb5341c369b32022401df65f419362 (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.py | 4 |
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, |
