diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-25 23:22:40 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-08-26 01:51:09 +0200 |
| commit | 2320b7adb703c22e44ec9716a0d2605e80a02783 (patch) | |
| tree | feee0aae8378342aa5e7bd8f42cc7bb7516cb26c /setup.py | |
| parent | 932d0f7b8a69bdcac5d945de600ce6be807aeff7 (diff) | |
oldconfig: Use Kconfig.node_iter() and clean up
Some general cleanup:
- Handle the iteration with the new Kconfig.node_iter() helper.
This makes some function so short that they become pointless. Have
just main() + oldconfig(node) + small helper functions.
- Use _name_and_loc_str(sc) for choices too, so that all locations get
reported for named choices defined in multiple locations
- Rewrite the intro to be less wordy and remove the sample session
(leftover from when oldconfig.py was in examples/, and not that
exciting)
- Print "Updated configuration written to..." instead of
"Configuration saved to..."
- Various other nits
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -40,7 +40,7 @@ setuptools.setup( "console_scripts": ( "menuconfig = menuconfig:_main", "genconfig = genconfig:main", - "oldconfig = oldconfig:main", + "oldconfig = oldconfig:_main", "alldefconfig = alldefconfig:main", "allnoconfig = allnoconfig:main", "allmodconfig = allmodconfig:main", |
