This could be rewritten as:

```go
outputDir := flag.String("output", "./output", "path to output directory")
```