You had command line syntax errors in both the original command and the help command line.
You error was /online and /cleanupimage as /onlinecleanup_image
Should be: DISM.exe /Online /Cleanup-image /Restorehealth
When it came to the help command line you had a period at the end.
Should be: DISM.exe /?
Not: DISM.exe /?.