summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-08-06 01:34:08 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-08-06 01:34:08 -0400
commit1ca4001b39a4b243a2102d32bb20268c726e028b (patch)
tree4a8500c043bbb595fa6016392b069fbc680dc0a9 /src
parent646ac0258c3295943778142468aadfe5b04ad6d1 (diff)
librechroot help: Clarify the usage of -w and -r
Diffstat (limited to 'src')
-rwxr-xr-xsrc/chroot-tools/librechroot4
-rwxr-xr-xsrc/chroot-tools/libremakepkg4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/chroot-tools/librechroot b/src/chroot-tools/librechroot
index 923b818..c8b83f8 100755
--- a/src/chroot-tools/librechroot
+++ b/src/chroot-tools/librechroot
@@ -258,8 +258,8 @@ usage() {
flag "-M <$(_ FILE)>" 'Copy this file to `$copydir/etc/makepkg.conf`'
flag "-A <$(_ CARCH)>" 'Set the architecture of the copy; simply an
alias for the `-C` and `-M` flags, see above.'
- flag "-w <$(_ 'PATH[:PATH]')>" 'Bind mount a file or directory, read/write'
- flag "-r <$(_ 'PATH[:PATH]')>" 'Bind mount a file or directory, read-only'
+ flag "-w <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read/write'
+ flag "-r <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read-only'
echo
print 'Commands:'
print ' Create/copy/delete:'
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index c6faf31..80a1733 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -171,8 +171,8 @@ usage() {
print ' %s options:' librechroot
flag "-n <$(_ CHROOT)>" 'Name of the chroot to use'
flag "-l <$(_ COPY)>" 'Name of, or absolute path to, the chroot copy to use'
- flag "-w <$(_ 'PATH[:PATH]')>" 'Bind mount a file or directory, read/write'
- flag "-r <$(_ 'PATH[:PATH]')>" 'Bind mount a file or directory, read-only'
+ flag "-w <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read/write'
+ flag "-r <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read-only'
print ' %s options:' libremakepkg
flag '-N' "Don't disable networking during prepare(),
build(), and package(). PLEASE don't use this