Documentation: Update command definitions to use argument conditions.

Fixes #6364