changed deprecated option styles to supported ones

-name and -rm to --name and --rm
Merge pull request #5820 from joelhandwell/patch-1

changed deprecated option styles to supported ones