Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed argparse for fedsd #273

Merged
merged 5 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions util/tracing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ directory.
```
sudo make install
```
Will install the tracing executables to `/usr/local/bin` to install them to a different location, use the `INSTALL_PREFIX` flag, e.g.
Will install the tracing executables to the `bin` directory under `/usr/local/`. To install them to a different location, use the `INSTALL_PREFIX` flag, e.g.

```
make install INSTALL_PREFIX=~/.local/bin
make install INSTALL_PREFIX=~/.local/
```
which will install the executables under `~/.local/bin/`.
4 changes: 2 additions & 2 deletions util/tracing/visualization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ Once the federation stopped executing, running `fedsd` will operate on all the `
```bash
fedsd
```
It is also possible to operate on specific files. In such a case, run `fedsd` with `-r` flag to provide the RTI trace file, and `-f` flag to privide the list of federates
trace files. Bith argumenets are optional.
It is also possible to operate on specific files. In such a case, run `fedsd` with `-r` flag to provide the RTI trace file, and `-f` flag to provide the list of federate.

```bash
fedsd -r <rti.lft> -f <federate__f1.lft> <federate__f2.lft>
```
Expand Down
2 changes: 1 addition & 1 deletion util/tracing/visualization/fedsd.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
parser = argparse.ArgumentParser(description='Set of the lft trace files to render.')
parser.add_argument('-r','--rti', type=str,
help='RTI\'s lft trace file.')
parser.add_argument('-f','--federates', nargs='+', action='append',
parser.add_argument('-f','--federates', nargs='+',
help='List of the federates\' lft trace files.')

# Events matching at the sender and receiver ends depend on whether they are tagged
Expand Down