# CLI: better error message for bad input path · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/f4c6e5d94e1d06a2b438632de0808947f6561798)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: f4c6e5d94e1d06a2b438632de0808947f6561798

Requested commit: f4c6e5d94e1d06a2b438632de0808947f6561798

Commit: f4c6e5d94e1d06a2b438632de0808947f6561798

Tree: a22ec03efb7f2a5cb111f11bb4f14984778cc951

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
CLI: better error message for bad input path

Previously it just said `error: NotDir` but now it says
`error: unable to open '<path>': NotDir`.

```

## Parents

- [ff534d22676b8a934acf1931f91d70c554a4bdca](https://git.cafe/gitcafe/zig/commit/ff534d22676b8a934acf1931f91d70c554a4bdca?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/f4c6e5d94e1d06a2b438632de0808947f6561798?format=markdown)
