Compile with CLI and specify register emulation option [SOLVED]

Using the CLI, I am trying to compile a sketch for the Arduino Nano Every which uses the ATmega4809, but I want to disable ATmega328 register emulation.

When I run the command:

arduino-cli board details arduino:megaavr:nona4809

I get the following output:

Board name:     Arduino Nano Every      

Required tools: arduino:avr-gcc            7.3.0-atmel3.6.1-arduino5
                arduino:avrdude            6.3.0-arduino17          
                arduino:arduinoOTA         1.3.0                    

Option:         Registers emulation        mode                     
                ATMEGA328                ✔ mode=on                  
                None (ATMEGA4809)          mode=off

I do not want to use the "ATMEGA328 Register emulation" which is checked in this output and makes me think that is the default.

During compilation, and potentially upload, how do I turn that off via command line? It's easy to do in the IDE, but I'm not using the IDE.

I found the answer to my own question. By looking at the full output from the IDE, I saw that the specified FQBN was "arduino:megaavr:nona4809:mode=off". So the hint was in the output from "board list" where it said the option was "mode" and "mode=on" was the default.

When you do not want to use register emulation on the Arduino Nano Every, use the command:

arduino-cli compile --fqbn arduino:megaavr:nona4809:mode=off <sketch-name>