xyproto / setconf

:green_book: Change settings in configuration text files
https://setconf.roboticoverlords.org
GNU General Public License v2.0
46 stars 5 forks source link

Add option for section #18

Open rmhartman opened 2 years ago

rmhartman commented 2 years ago

Some conf files (e.g. gitconfig) have sections:

[section1] path=xyzzy

[section2] path=xyzzy

If this utility only changes all occurances of path to path=plugh it should be enhanced. It needs to take an (optional) section name so you can change the section1 path without affecting the section2 path.

xyproto commented 2 years ago

Thanks for reporting! I agree.