options: use modified boost class to permit multiple_options
commit858fd4234b7d8d9f2b72a92ed4837a46a5ea139a
authorDavid Flynn <davidf@rd.bbc.co.uk>
Mon, 9 Mar 2009 17:22:50 +0000 (9 17:22 +0000)
committerDavid Flynn <davidf@rd.bbc.co.uk>
Tue, 10 Mar 2009 12:40:37 +0000 (10 12:40 +0000)
tree6b7399e69490b549dc8306f2080d160bb977ec41
parent78bb630502da5d6154a828d69c051f1a233ecbe3
options: use modified boost class to permit multiple_options

Previously, it was not possible to do:

$./foo -a 4 -a 5

This patch enables the above, the last value specified wins.
Implemented as fixes::po::value<...>(...) rather than po::...
src/Makefile.am
src/df_boost_prog_opts.cpp [new file with mode: 0644]
src/df_boost_prog_opts.hpp [new file with mode: 0644]
src/schro_decode.cpp
src/schro_encode.cpp
src/schro_recode.cpp
src/schrooptions.cpp