sudo = yes is in older docs, sudo = True is in newer docs