Handle output of help/version outside argv loop
Handle output of help/version outside argv loop

To separate processing of argv from actions required from input,
use booleans to indicate presence of help and version requests.
Handle printing of help and version info after argv loop completed,
using booleans to determine whether to print or not.

mpags-cpp/mpags-cipher