Batch rendering specific frames not working

In a scene with an animated camera, I need to render only specific frames.
I tried using the following flags, but they threw an error and the process failed:

-frames=50
-frames=50-50


Submitted on AHA Ideas (VANTAGE-I-321).

AHA Ideas status: Planned.
Set during AHA Ideas to Discourse migration.