Argparse functional. Ready for coverage testing