Skip to content

Commit

Permalink
README: remove dollar sign from commands
Browse files Browse the repository at this point in the history
that way copying the command and pasting it in shell works. With the dollar sign it doesn't work
  • Loading branch information
o-az authored and astro committed Jan 29, 2024
1 parent c58c368 commit cf79969
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]...
Expand Down Expand Up @@ -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, ... }:
Expand All @@ -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/)
Expand Down

0 comments on commit cf79969

Please sign in to comment.