diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-15 19:46:57 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-15 19:46:57 -0700 |
commit | b16650830d69cbe2d13e74c4318757c15f2c552f (patch) | |
tree | eb2972d1d46aeed0bba411a02b8f523c7e21a8c2 /example | |
parent | b46250c40e29a23d37fe8fdadd6ef0d4cfe8b897 (diff) |
Make --help output more suitable for end-user
We now only list options that are potentially useful for an
end-user (and unlikely to accidentally break a file system). The full
list of FUSE options has been moved to the documentation of the
fuse_new() and fuse_session_new() functions.
Diffstat (limited to 'example')
-rw-r--r-- | example/hello_ll.c | 3 | ||||
-rw-r--r-- | example/notify_inval_entry.c | 3 | ||||
-rw-r--r-- | example/notify_inval_inode.c | 3 | ||||
-rw-r--r-- | example/notify_store_retrieve.c | 3 | ||||
-rw-r--r-- | example/passthrough_ll.c | 3 |
5 files changed, 5 insertions, 10 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c index 81d04c3..d673a5d 100644 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -195,13 +195,12 @@ int main(int argc, char *argv[]) if (opts.show_help) { printf("usage: %s [options] <mountpoint>\n\n", argv[0]); fuse_cmdline_help(); - fuse_mount_help(); + fuse_lowlevel_help(); ret = 0; goto err_out1; } else if (opts.show_version) { printf("FUSE library version %s\n", fuse_pkgversion()); fuse_lowlevel_version(); - fuse_mount_version(); ret = 0; goto err_out1; } diff --git a/example/notify_inval_entry.c b/example/notify_inval_entry.c index bb6f2ef..7c33dc4 100644 --- a/example/notify_inval_entry.c +++ b/example/notify_inval_entry.c @@ -287,13 +287,12 @@ int main(int argc, char *argv[]) { if (opts.show_help) { show_help(argv[0]); fuse_cmdline_help(); - fuse_mount_help(); + fuse_lowlevel_help(); ret = 0; goto err_out1; } else if (opts.show_version) { printf("FUSE library version %s\n", fuse_pkgversion()); fuse_lowlevel_version(); - fuse_mount_version(); ret = 0; goto err_out1; } diff --git a/example/notify_inval_inode.c b/example/notify_inval_inode.c index 078107e..934be60 100644 --- a/example/notify_inval_inode.c +++ b/example/notify_inval_inode.c @@ -310,13 +310,12 @@ int main(int argc, char *argv[]) { if (opts.show_help) { show_help(argv[0]); fuse_cmdline_help(); - fuse_mount_help(); + fuse_lowlevel_help(); ret = 0; goto err_out1; } else if (opts.show_version) { printf("FUSE library version %s\n", fuse_pkgversion()); fuse_lowlevel_version(); - fuse_mount_version(); ret = 0; goto err_out1; } diff --git a/example/notify_store_retrieve.c b/example/notify_store_retrieve.c index 8cc6666..6c8678a 100644 --- a/example/notify_store_retrieve.c +++ b/example/notify_store_retrieve.c @@ -353,13 +353,12 @@ int main(int argc, char *argv[]) { if (opts.show_help) { show_help(argv[0]); fuse_cmdline_help(); - fuse_mount_help(); + fuse_lowlevel_help(); ret = 0; goto err_out1; } else if (opts.show_version) { printf("FUSE library version %s\n", fuse_pkgversion()); fuse_lowlevel_version(); - fuse_mount_version(); ret = 0; goto err_out1; } diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index 7884242..dc5e10a 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -469,13 +469,12 @@ int main(int argc, char *argv[]) if (opts.show_help) { printf("usage: %s [options] <mountpoint>\n\n", argv[0]); fuse_cmdline_help(); - fuse_mount_help(); + fuse_lowlevel_help(); ret = 0; goto err_out1; } else if (opts.show_version) { printf("FUSE library version %s\n", fuse_pkgversion()); fuse_lowlevel_version(); - fuse_mount_version(); ret = 0; goto err_out1; } |