diff options
author | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-16 13:27:50 +0800 |
---|---|---|
committer | Zhongyue Luo <lzyeval@gmail.com> | 2012-05-31 05:44:46 +0800 |
commit | 991614add8a0dabe1cfa15ef19d5df2396410cf3 (patch) | |
tree | 7407ab4496f1d66fb83b8cf5c1f67090cda2c9e0 /tools/hacking.py | |
parent | cb7c4377b373857cc57e95b84d4e93b0f785673c (diff) | |
download | nova-991614add8a0dabe1cfa15ef19d5df2396410cf3.tar.gz nova-991614add8a0dabe1cfa15ef19d5df2396410cf3.tar.xz nova-991614add8a0dabe1cfa15ef19d5df2396410cf3.zip |
Sample config file tool updates
Fixes bug #1000133
Current method of extracting config options will not work
once the global config object gets removed.
1. Update tool to read a cfg.Opt subclass instance or list of cfg.Opt subclass
instances rather than the FLAG object.
2. Word wrap help messages
3. Insert line between consecutive options
4. Print warnings for missing option help string
Change-Id: Idd17048b6e8db6e939946968e011e68da8585b8c
Diffstat (limited to 'tools/hacking.py')
0 files changed, 0 insertions, 0 deletions