diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 62c6c2b3c..c5ef4f5b6 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -6462,6 +6462,14 @@ Sigma_Exit: /*! ### M118 - Serial print M118: Serial print + #### Usage + + M118 [ A1 | E1 ] [ String ] + + #### Parameters + - `A1` - Prepend // to denote a comment or action command. Hosts like OctoPrint can interpret such commands to perform special actions. See your host’s documentation. + - `E1` - Prepend echo: to the message. Some hosts will display echo messages differently when preceded by echo:. + - `String` - Message string. If omitted, a blank line will be sent. */ case 118: { bool hasE, hasA = false;