changed deprecated option styles to supported ones

-name and -rm to --name and --rm