Skip to content

Commit

Permalink
Add note that -L implies -n is used
Browse files Browse the repository at this point in the history
  • Loading branch information
gliargovas committed Oct 20, 2023
1 parent 2e30ccb commit 4240060
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ $ try commit rustup-sandbox
You can also run `try explore` to open your current shell in try, or `/try
explore /tmp/tmp.X6OQb5tJwr` to explore an existing sandbox.

To specify multiple lower directories for overlay (by merging them together), you can use the `-L` flag followed by a colon-separated list of directories. The directories on the left have higher precedence and can overwrite the directories on the right:
To specify multiple lower directories for overlay (by merging them together), you can use the `-L` (implies `-n`) flag followed by a colon-separated list of directories. The directories on the left have higher precedence and can overwrite the directories on the right:

```ShellSession
$ try -D /tmp/sandbox1 "echo 'File 1 Contents - sandbox1' > file1.txt"
Expand Down
8 changes: 4 additions & 4 deletions docs/try.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ While using *try* you can choose to commit the result to the filesystem or compl

-y

: Assume yes to all prompts (implies -n is not used)
: Assume yes to all prompts (implies -n is not used).

-v

: Show version information (and exit)
: Show version information (and exit).

-h

: Show a usage message (and exit)
: Show a usage message (and exit).


## Options
Expand All @@ -55,7 +55,7 @@ This option is recommended in case OverlayFS fails.

-L *LOWER_DIRS*

: Specify a colon-separated list of directories to be used as lower directories for the overlay, formatted as "dir1:dir2:...:dirn".
: Specify a colon-separated list of directories to be used as lower directories for the overlay, formatted as "dir1:dir2:...:dirn" (implies -n is used).


## Subcommands
Expand Down

0 comments on commit 4240060

Please sign in to comment.