parse the pretty option for base serving path