Skip to content

Commit

Permalink
Merge pull request #154 from srm09/docs/fix-args-docs
Browse files Browse the repository at this point in the history
Fixes example for the args flag of the run command
  • Loading branch information
srm09 authored and vladimirvivien committed Aug 20, 2020
2 parents ca2aa2c + bf00df2 commit 12d2e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ kube_capture(what="logs", namespaces=[os.getenv("KUBE_DEFAULT_NS")])
Scripts can also access command-line arguments passed as key/value pairs using the `--args` flag. For instance, when the following command is used to start a script:

```
crashd run --args="kube_ns=kube-system username=$(whoami)" diagnostics.crsh
crashd run --args="kube_ns=kube-system, username=$(whoami)" diagnostics.crsh
```

Values from `--args` can be accessed as shown below:
Expand Down

0 comments on commit 12d2e2e

Please sign in to comment.