Skip to content

Commit

Permalink
opp_env: help: added new example; nits
Browse files Browse the repository at this point in the history
  • Loading branch information
avarga committed Oct 9, 2024
1 parent 719840c commit 52643d5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions opp_env/opp_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,8 @@ def dedent(text):
tools are used for building and running simulations. It achieves isolation by
modifying environment variables, mainly adjusting the PATH to prioritize the Nix
store (a custom directory tree) over system directories. This method is not
virtualization, so users still have access to the same file system and
permissions as they would in a regular host OS session.
virtualization, so users still have access to the same file system and have the
same permissions as they would in a regular host OS session.
A typical session:
Expand Down Expand Up @@ -462,6 +462,9 @@ def add_arguments(subparser, names):
# Install OMNeT++ and INET, then run the MANET Routing showcase simulation:
$ opp_env run inet-4.5.0 -w inet-workspace --init --install --chdir \\
-c 'cd inet-4.5.0/showcases/routing/manet && inet'
# Smoke test an existing INET installation:
$ opp_env run inet-4.5.0 --smoke-test
"""),
formatter_class=argparse.RawDescriptionHelpFormatter)
add_arguments(subparser, [
Expand Down

0 comments on commit 52643d5

Please sign in to comment.