From: Nikolaus Rath Date: Mon, 3 Oct 2016 03:40:02 +0000 (-0700) Subject: Edited comments for clarity. X-Git-Tag: fuse-3.0.0pre0~12 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57089f1d553d206ae43b85060c2b03d9f9367a3c;p=qemu-gpiodev%2Flibfuse.git Edited comments for clarity. --- diff --git a/include/fuse.h b/include/fuse.h index c3fea2d..719623a 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -608,8 +608,7 @@ struct fuse_context { * main() function. * * This function does the following: - * - parses command line options (-d -s and -h) - * - passes relevant mount options to the fuse_mount() + * - parses command line options * - installs signal handlers for INT, HUP, TERM and PIPE * - registers an exit handler to unmount the filesystem on program exit * - creates a fuse handle @@ -640,14 +639,13 @@ struct fuse_context { /** * Create a new FUSE filesystem. * - * Known arguments are defined in `struct fuse_opt fuse_lib_opts[]`, + * Known options are defined in `struct fuse_opt fuse_lib_opts[]`, * `struct fuse_opt fuse_mount_opts[]`, and `struct fuse_opt - * fuse_ll_opts[]`. If there are any unknown arguments, an error - * message will be printed to stderr and the function will return - * NULL. + * fuse_ll_opts[]`. If not all options are known, an error message is + * written 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. + * If the --help option is specified, the function writes a help text + * to stdout and returns NULL. * * @param args argument vector * @param op the filesystem operations diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index f0f0e0b..f90a052 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -1570,10 +1570,9 @@ int fuse_req_interrupted(fuse_req_t req); * Returns a session structure suitable for passing to * fuse_session_mount() and fuse_session_loop(). * - * Known arguments are defined in `struct fuse_opt fuse_ll_opts[]` and - * `struct fuse_opt fuse_mount_opts[]`. If there are any unknown - * arguments, an error message will be printed to stderr and the - * function will return NULL. + * Known options are defined in `struct fuse_opt fuse_ll_opts[]` and + * `struct fuse_opt fuse_mount_opts[]`. If not all options are known, + * an error message is written to stderr and the function returns NULL. * * If the --help or --version parameters are specified, the function * prints the requsted information to stdout and returns NULL.