Anyway, in my opinion the best solution is to have automatic help printer like boost:program_options, or something (googled in 2 minutes: Apache Commons CLI. I have no idea if it suits but looks promising).
Then your help for commands are written inline - so there is no place for mistakes.
Anyway, in my opinion the best solution is to have automatic help printer like boost:program_options, or something (googled in 2 minutes: Apache Commons CLI. I have no idea if it suits but looks promising). Then your help for commands are written inline - so there is no place for mistakes.