Try using an administrative account because they are both valid attributes or commands, I just did this twice this week, I made a working 10.9 and 10.10 installer on two flash drives using this document.
Read the entire document and pay close attention. If you are copying and pasting without making the necessary edits they don't work, they can't work, you need to specifically follow the directions as they are explained, not just written.
Sudo
usage: sudo -h | -K | -k | -L | -V
usage: sudo -v [-AknS] [-g groupname|#gid] [-p prompt] [-u user name|#uid]
usage: sudo -l[l] [-AknS] [-g groupname|#gid] [-p prompt] [-U user name] [-u
user name|#uid] [-g groupname|#gid] [command]
usage: sudo [-AbEHknPS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
name|#uid] [-g groupname|#gid] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-C fd] [-g groupname|#gid] [-p prompt] [-u user
name|#uid] file ...