Skip to content

Commit

Permalink
updating an argument shortcut, adding description to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Feb 14, 2019
1 parent 68b082c commit 4365c59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion packages/python-packages/doc-warden/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,12 @@ Example usage:
/:> ward scan -d $(Build.SourcesDirectory)
```
**Notes for example above**

Devops is a bit finicky with registering a console entry point, hence the `sudo` just on the installation. This is not required on machines that are NOT a hosted build agent.
* Devops is a bit finicky with registering a console entry point, hence the `sudo` just on the installation. `sudo` is only required on devops machines.
* Assumption is that the `.docsettings` file is placed at the root of the repository.
* To provide a different path (like `azure-sdk-for-java` does...), use:
* `ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml`

##### Parameter Options

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def __init__(self):
help = 'The repo directory that this tool should be scanning.',
required = True)
parser.add_argument(
'-y',
'-c',
'--config-location',
dest = 'config_location',
required = False,
Expand Down

0 comments on commit 4365c59

Please sign in to comment.