If you need a cross-platform solution, try Boost's Program Options library.
1.4m articles
1.4m replys
5 comments
57.0k users