<!-- @generated by usage-cli from usage spec -->

# `hk util trailing-whitespace`

- **Usage**: `hk util trailing-whitespace [-d --diff] [-f --fix] <FILES>…`
- **Effect**: modifies state

Check for and optionally fix trailing whitespace

## Arguments

### `<FILES>…`

Files to check/fix

## Flags

### `-d --diff`

Output a diff of the change. Cannot use with `fix`

### `-f --fix`

Fix trailing whitespace by removing it
