add --pretty to command line args, add tests for --pretty option