# An option has a value it can't use

What "an option has a value it can't use" means and how to fix it.

```text
error: 'x' isn't a value for --concurrency
hint: Use a number such as 4, or a share such as 50%.
```

## Why it happens

The value after an option isn't one it accepts. If the value is missing altogether, the message is `--filter needs a value`, with that option's name.

The same happens when an `AXLE_*` variable, such as `AXLE_CONCURRENCY`, `AXLE_CACHE` or `AXLE_CACHE_MAX_SIZE`, holds a value its setting doesn't accept:

```text
error: 'x' in AXLE_CACHE isn't a value for --cache
hint: Use local: and remote: with rw, r, w or off, such as local:rw,remote:r, or none.
```

The code also covers a remote cache address Axle can't use, such as an `s3://` address without a bucket or a scheme it doesn't know, a team name with characters it doesn't take, and, for `axle login`, an empty token or an address that isn't a server's. For [`axle release`](https://axlers.dev/docs/reference/release.md), it covers a `--group` that isn't one of the `[[release.groups]]` in `axle.toml`, and a `--pre` name npm can't use as a tag, such as `latest`, `1` or `v2`.

## How to fix it

Use one of the values in the hint; see [axle run](https://axlers.dev/docs/reference/run.md), [axle cache](https://axlers.dev/docs/reference/cache.md), the [remote cache](https://axlers.dev/docs/reference/remote-cache.md) and [system environment variables](https://axlers.dev/docs/reference/system-environment-variables.md).
