From e20e5c9ae574bba8827310edf38ae9edca08c469 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sat, 1 Oct 2016 11:24:46 -0700 Subject: Improve documentation of argument parsing. --- include/fuse.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index c70d2fe..5721caa 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -640,6 +640,13 @@ struct fuse_context { /** * Create a new FUSE filesystem. * + * Known parameters in `args` are removed. If there are any unknown + * arguments, an error is printed to stderr and the function returns + * NULL. + * + * If the --help or --version parameters are specified, the function + * prints the requested information to stdout and returns NULL. + * * @param ch the communication channel * @param args argument vector * @param op the filesystem operations -- cgit v1.2.3