changed deprecated -rm option to --rm

changed deprecated -rm option to --rm