rebased on merge_argparse/logging
changed merge_ to inherit_argparse/logging