Skip to content

Commit

Permalink
Updating documentation and examples to show use of new -ws flag as re…
Browse files Browse the repository at this point in the history
…placement for statick_ws. (sscpac#329)
  • Loading branch information
tdenewiler authored Jan 14, 2021
1 parent 481a187 commit 19304c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ statick /home/user/ws/src --output-directory <output directory> -ws
Statick can also run against a subset of the source directory in a ROS workspace.

```shell
statick_ws /home/user/ws/src/subdir --output-directory <output directory>
statick /home/user/ws/src/subdir --output-directory <output directory> -ws
```

## Troubleshooting
Expand All @@ -543,7 +543,7 @@ statick_ws /home/user/ws/src/subdir --output-directory <output directory>

If you are running Statick against a ROS package and get an error that there is no rule to make target `clean`,
and that the package is not CMake, it usually means that you did not specify a single package.
For example, this is what happens when you tell Statick to analyze a ROS workspace and do not use `statick_ws`.
For example, this is what happens when you tell Statick to analyze a ROS workspace and do not use the `-ws` flag.

```shell
Running cmake discovery plugin...
Expand Down
2 changes: 1 addition & 1 deletion examples/navigation/navigation_example1.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ if [ ! -d statick_example1 ]; then
mkdir statick_example1
fi

statick_ws src/ --output-directory statick_example1/
statick src/ --output-directory statick_example1/ -ws

0 comments on commit 19304c2

Please sign in to comment.