Skip to content

Commit 997ba0d

Browse files
Remove leading "$ " from copy-pastable commands (dependabot#20)
When showing both the command and logs, the leading dollar makes things more readable. However, in snippets with individual commands it doesn't make it look better, and it's more useful without since it makes the command directly pasted in the terminal work.
1 parent d834d8d commit 997ba0d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ using the `--file` / `-f` option
103103
(this replaces the package manager and repository name arguments).
104104

105105
```console
106-
$ dependabot update -f job.yaml --dry-run
106+
dependabot update -f job.yaml --dry-run
107107
```
108108

109109
```yaml
@@ -265,14 +265,14 @@ To produce a scenario file that tests Dependabot behavior for a given repo,
265265
run the `update` subcommand and set the `--output` / `-o` option to a file path.
266266

267267
```console
268-
$ dependabot update go_modules rsc/quote --dry-run -o go-scenario.yml
268+
dependabot update go_modules rsc/quote --dry-run -o go-scenario.yml
269269
```
270270

271271
Run the `test` subcommand for the generated scenario file,
272272
specifying a cache directory with the `--cache` option.
273273

274274
```console
275-
$ dependabot test -f go-scenario.yml --cache ./tmp/cache
275+
dependabot test -f go-scenario.yml --cache ./tmp/cache
276276
```
277277

278278
While performing the update job,
@@ -310,7 +310,7 @@ to get the latest version of Docker installed and running.
310310
You can verify that Docker is running locally with the following command:
311311
312312
```console
313-
$ docker --version
313+
docker --version
314314
```
315315

316316
### "Network internet is ambiguous"
@@ -324,7 +324,7 @@ This error can occur when the CLI exits before having an opportunity to clean up
324324
Run the following command to remove all unused networks:
325325

326326
```console
327-
$ docker network prune
327+
docker network prune
328328
```
329329

330330
[Docker]: https://docs.docker.com/get-started/

0 commit comments

Comments
 (0)