'-n' option is ambiguous for command onetemplate

"onetemplate instantiate 0 -n myname" didn't work. The error message was "ambiguous option: -n". "--name" instead works.