Added --pretty option.