You could do this instead of using `prevParam`:

```go
for i, currentParam := range params[1:] {
    if params[i] == "-e"
```