Skip to content

Commit

Permalink
fix help for --mount-options
Browse files Browse the repository at this point in the history
  • Loading branch information
btovar committed Nov 1, 2024
1 parent ba7abf0 commit 5901064
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chirp/src/chirp_fuse.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ static void show_help(const char *cmd)
fprintf(stdout, " %-30s Disable small file optimizations such as recursive delete.\n", "-D,--no-optimize");
fprintf(stdout, " %-30s Run in foreground for debugging.\n", "-f,--foreground");
fprintf(stdout, " %-30s Comma-delimited list of tickets to use for authentication.\n", "-i,--tickets=<files>");
fprintf(stdout, " %-30s Mount options passed to FUSE.\n", "-m,--mount-options=<options>");
fprintf(stdout, " %-30s Mount option passed to FUSE. May be specified multiple times.\n", "-m,--mount-option=<option>");
fprintf(stdout, " %-30s Send debugging to this file. (can also be :stderr, or :stdout)\n", "-o,--debug-file=<file>");
fprintf(stdout, " %-30s Timeout for network operations. (default is %ds)\n", "-t,--timeout=<timeout>", chirp_fuse_timeout);
fprintf(stdout, " %-30s Show program version.\n", "-v,--version");
Expand All @@ -600,7 +600,7 @@ int main(int argc, char *argv[])
{"no-optimize", no_argument, 0, 'D'},
{"foreground", no_argument, 0, 'f'},
{"tickets", required_argument, 0, 'i'},
{"mount-options", required_argument, 0, 'm'},
{"mount-option", required_argument, 0, 'm'},
{"debug-file", required_argument, 0, 'o'},
{"timeout", required_argument, 0, 't'},
{"version", no_argument, 0, 'v'},
Expand Down
2 changes: 1 addition & 1 deletion doc/man/m4/chirp_fuse.m4
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ OPTION_ARG(d,debug,flag)Enable debugging for this subsystem.
OPTION_FLAG(D,no-optimize)Disable small file optimizations such as recursive delete.
OPTION_FLAG(f,foreground)Run in foreground for debugging.
OPTION_ARG(i,tickets,files)Comma-delimited list of tickets to use for authentication.
OPTION_ARG(m,mount-options,option)Pass mount option to FUSE. Can be specified multiple times.
OPTION_ARG(m,mount-option,option)Pass mount option to FUSE. Can be specified multiple times.
OPTION_ARG(o,debug-file,file)Write debugging output to this file. By default, debugging is sent to stderr (":stderr"). You may specify logs to be sent to stdout (":stdout") instead.
OPTION_ARG(t,timeout,timeout)Timeout for network operations. (default is 60s)
OPTION_FLAG(v,version)Show program version.
Expand Down
2 changes: 1 addition & 1 deletion doc/man/md/chirp_fuse.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ For complete details with examples, see the
- **-D**,**--no-optimize**<br />Disable small file optimizations such as recursive delete.
- **-f**,**--foreground**<br />Run in foreground for debugging.
- **-i**,**--tickets=_&lt;files&gt;_**<br />Comma-delimited list of tickets to use for authentication.
- **-m**,**--mount-options=_&lt;option&gt;_**<br />Pass mount option to FUSE. Can be specified multiple times.
- **-m**,**--mount-option=_&lt;option&gt;_**<br />Pass mount option to FUSE. Can be specified multiple times.
- **-o**,**--debug-file=_&lt;file&gt;_**<br />Write debugging output to this file. By default, debugging is sent to stderr (":stderr"). You may specify logs to be sent to stdout (":stdout") instead.
- **-t**,**--timeout=_&lt;timeout&gt;_**<br />Timeout for network operations. (default is 60s)
- **-v**,**--version**<br />Show program version.
Expand Down

0 comments on commit 5901064

Please sign in to comment.