Fixed #19973 -- Replaced optparse by argparse in management commands

I'd prefer to add a heading if it makes sense, otherwise linking to a paragraph can be confusing.