ENH: logging command-line options and args typed at the terminal + environ variables