The command uses the following structure:
nrfutil trace stm [--database-config ARG] [--input-file PATH] [--input-serialport ARG] [--input-jtrace-serial-number SERIAL_NUMBER] [--output-raw PATH] [--output-ascii PATH] [--stdout ARG] [--keep-configuration] [--help]
For the complete list of available options, run nrfutil device trace stm --help.