Remove deprecated -name option

Change the deprecated option "-name" to "--name". To avoid warning:
```
Warning: '-name' is deprecated, it will be replaced by '--name' soon. See usage.
```