Update README.md
Previous documented command was providing docker folder mount option to addlicense as arguments... that was incorrect. Folder should be mounted before specifying the docker image to run.
This commit is contained in:
committed by
Will Norris
parent
13e73a7f8f
commit
d40d757b7c
@@ -54,7 +54,7 @@ Finally, to run it, mount the directory you want to scan to `/src` and pass the
|
||||
appropriate addlicense flags:
|
||||
|
||||
```bash
|
||||
docker run -it ghcr.io/google/addlicense -v ${PWD}:/src -c "Google LLC" *.go
|
||||
docker run -it -v ${PWD}:/src ghcr.io/google/addlicense -c "Google LLC" *.go
|
||||
```
|
||||
|
||||
## license
|
||||
|
||||
Reference in New Issue
Block a user