summaryrefslogtreecommitdiff
path: root/c/src/nfsclient/src/cexphelp.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/nfsclient/src/cexphelp.c')
-rw-r--r--c/src/nfsclient/src/cexphelp.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/c/src/nfsclient/src/cexphelp.c b/c/src/nfsclient/src/cexphelp.c
new file mode 100644
index 0000000000..d062ed12f1
--- /dev/null
+++ b/c/src/nfsclient/src/cexphelp.c
@@ -0,0 +1,16 @@
+#include <librtemsNfs.h>
+#include <cexpHelp.h>
+CEXP_HELP_TAB_BEGIN(rtemsNfs)
+ HELP(
+"Mount a remote filesystem (NFS). The mount point (must not be a NFS dir)\n"
+"is created on the fly if not existing already.\n"
+"uid/gid to use may be specified:\n"
+" hostspec: [uid.gid@]hostname_or_ipaddr\n"
+ , int, nfsMount, (char *hostspec, char *exportdir, char *mntpoint)
+ ),
+ HELP(
+"Print all currently mounted NFS directories to open file handle.\n"
+"Pass f = 0 to print to stdout\n"
+ , int, nfsMountsShow, (FILE *f)
+ ),
+CEXP_HELP_TAB_END