From 1ca4001b39a4b243a2102d32bb20268c726e028b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 6 Aug 2018 01:34:08 -0400 Subject: librechroot help: Clarify the usage of -w and -r --- src/chroot-tools/librechroot | 4 ++-- src/chroot-tools/libremakepkg | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 -- cgit v1.2.2