Type help getpeaks and see what it says. Or get rid of all arguments and type the left parenthesis and see what intellisense pops up to guide you. Or put the cursor in findpeaks and type control-D and it should take you to the function where you can see what arguments it allows.
By the way, you didn't instead mean findpeaks() in the Signal Processing Toolbox, did you?