README: remove dollar sign from commands

that way copying the command and pasting it in shell works. With the dollar sign it doesn't work
This commit is contained in:
omar 2024-01-29 15:09:24 -08:00 committed by Astro
parent c58c368210
commit cf799690a7

View File

@ -12,7 +12,7 @@ See [deadnix-action](https://github.com/astro/deadnix-action)
### Help
```console
$ nix run github:astro/deadnix -- --help
nix run github:astro/deadnix -- --help
Find dead code in .nix files
Usage: deadnix [OPTIONS] [FILE_PATHS]...
@ -43,7 +43,7 @@ The `--exclude` parameter accepts multiple paths. Separate them with
### Scan for unused code
```console
$ nix run github:astro/deadnix example.nix
nix run github:astro/deadnix example.nix
Warning: Unused declarations were found.
╭─[example.nix:1:1]
1 │unusedArgs@{ unusedArg, usedArg, ... }:
@ -68,7 +68,7 @@ Warning: Unused declarations were found.
**Do commit** your changes into version control **before!**
```console
$ nix run github:astro/deadnix -- -eq test.nix
nix run github:astro/deadnix -- -eq test.nix
```
## Usage with [pre-commit](https://pre-commit.com/)