From 424006047e9016df138d93411b869deef8ac6393 Mon Sep 17 00:00:00 2001 From: gliargovas Date: Fri, 20 Oct 2023 07:56:13 -0600 Subject: [PATCH] Add note that -L implies -n is used --- README.md | 2 +- docs/try.1.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9180f2c7..1883e360 100644 --- a/README.md +++ b/README.md @@ -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" diff --git a/docs/try.1.md b/docs/try.1.md index 7d113c4e..e1288379 100644 --- a/docs/try.1.md +++ b/docs/try.1.md @@ -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 @@ -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