From 772bf2e10b75f7aec9a880848151020075077e34 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Fri, 27 Aug 2004 14:14:45 +0000 Subject: [PATCH] showHelp(): improved message git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1684 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/secure-mount.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/util-vserver/src/secure-mount.c b/util-vserver/src/secure-mount.c index f752283..5fc9d0d 100644 --- a/util-vserver/src/secure-mount.c +++ b/util-vserver/src/secure-mount.c @@ -160,6 +160,27 @@ showHelp(int fd, char const *cmd, int res) "the current root-dir while destinations are expected in the chroot environment.\n\n" "For non-trivial mount-operations it uses the external 'mount' program which\n" "can be overridden by the $MOUNT environment variable.\n\n" + "Options:\n" + " --bind|move|rbind ... set the correspond flags; with this options\n" + " the mount will be executed internally without\n" + " calling an external mount program.\n" + " -t ... assume the given filesystem type\n" + " -o ... set additional options; see mount(2) for details\n" + " -n ... do not update the mtab-file\n" + " --mtab ... use as an alternative mtab file\n" + " [default: /etc/mtab]\n" + " --chroot ... chroot into the current directory before\n" + " mounting the filesystem\n" + " --fstab ... use as an alternative fstab file;\n" + " this option has an effect only with the '-a'\n" + " option [default: /etc/fstab]\n" + " -a ... mount everything listed in the fstab-file\n\n" + " ... the source-filesystem; this path is absolute\n" + " to the current root-filesystem. Only valid\n" + " without the '-a' option.\n" + " ... the destination mount-point; when used with\n" + " '--chroot', this path is relative to the current\n" + " directory. Only valid without the '-a' option\n\n" "Please report bugs to " PACKAGE_BUGREPORT "\n"); exit(res); -- 1.8.1.5