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 --- po/es/libretools.po | 6 ++++-- src/chroot-tools/librechroot | 4 ++-- src/chroot-tools/libremakepkg | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/po/es/libretools.po b/po/es/libretools.po index 728c674..f5e9583 100644 --- a/po/es/libretools.po +++ b/po/es/libretools.po @@ -788,8 +788,10 @@ msgstr "Enlazar un archivo o directorio, lectura/escritura" #: src/chroot-tools/librechroot:261 src/chroot-tools/librechroot:262 #: src/chroot-tools/libremakepkg:174 src/chroot-tools/libremakepkg:175 -msgid "PATH[:PATH]" -msgstr "RUTA[:RUTA]" +#, fuzzy +#| msgid "PATH[:PATH]" +msgid "PATH[:INSIDE_PATH[:OPTIONS]]" +msgstr "RUTA[:RUTA]" #: src/chroot-tools/librechroot:262 src/chroot-tools/libremakepkg:175 msgid "Bind mount a file or directory, read-only" 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