add a tiny sudo example to the readme

This commit is contained in:
Dominik Richter 2015-11-06 01:38:55 +01:00
parent f62b7b4520
commit a011e2e122

View file

@ -112,6 +112,9 @@ inspec exec test.rb -t winrm://Administrator@windowshost --password 'your-passwo
# run test on docker container
inspec exec test.rb -t docker://container_id
# run with sudo
inspec exec test.rb --sudo [--sudo-password ...] [--sudo-options ...]
```
### detect