History

update usage

Matus Skvarla committed 1 year ago

Commit eefbb4e1 parent 3d04c571 file · +2 −1Browse files

Unified · Split

9pfs.c+2−1
@@ -582,6 +582,7 @@ main(int argc, char *argv[]) · 581 unmodified lines
582582 if((pw = getpwuid(getuid())) == NULL)
583583 errx(1, "Could not get user");
584584 strecpy(user, user+sizeof(user), pw->pw_name);
585+
585586 while((ch = getopt(argc, argv, ":dUVTafA:p:u:o:")) != -1){
586587 switch(ch){
587588 case 'd':
@@ -774,6 +775,6 @@ breakpath(char *dname) · 186 unmodified lines
774775 void
775776 usage(void)
776777 {
777− fprintf(stderr, "Usage: 9pfs [-aUVfd] [-A aname] [-p port] [-u user] [-o option] service mtpt\n");
778+ fprintf(stderr, "Usage: 9pfs [-dUVTaf] [-A aname] [-p port] [-u user] [-o fuse_options] service mountpoint\n");
778779 exit(2);
779780 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t