I was wondering how is it possible to pass program options in boost without giving argument name like program.exe var1
instead of program.exe --arg1 var1
. However I know how to handle this without boost lib with obtaining just argv[1]
.
There are two cases: one, when I have to specify all args with their argNames and two, when I have only one argument - fileName
and now I know how to handle the first one but the problem is second one - how to handle it having all together via in boost lib? Or in simple - is it possible to do that?