summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/libremakepkg')
-rwxr-xr-xsrc/chroot-tools/libremakepkg27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index 00eb2e0..013b6d0 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -169,18 +169,21 @@ usage() {
the documentation there.'
echo
print 'Options:'
- 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[: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
- unless you have a special reason, its use is a
- violation of Parabola policy."
- flag '-R' 'Repackage contents of the package without rebuilding'
- flag '-h' 'Show this message'
+
+ flag 'librechroot options:' \
+ "-n <$(_ CHROOT)>" 'Name of the chroot to use' \
+ "-l <$(_ COPY)>" 'Name of, or absolute path to, the chroot copy to use' \
+ "-w <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read/write' \
+ "-r <$(_ 'PATH[:INSIDE_PATH[:OPTIONS]]')>" 'Bind mount a file or directory, read-only'
+
+ flag 'libremakepkg options:' \
+ '-N' "Don't disable networking during prepare(),
+ build(), and package(). PLEASE don't use
+ this unless you have a special reason, its
+ use is a violation of Parabola policy." \
+ '-R' 'Repackage contents of the package without
+ rebuilding' \
+ '-h' 'Show this message'
}
# Convenience method for use in option parsing