Skip to content

Commit

Permalink
Update bfs_mount.cc (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibwroot authored and bluebore committed Nov 22, 2016
1 parent 1a8bab8 commit 3f0bd41
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion fuse/bfs_mount.cc
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,16 @@ void bfs_destroy(void*) {

int parse_args(int* argc, char* argv[]) {
if (*argc < 2) {
fprintf(stderr, "usage %s mount_point [-d]"
fprintf(stderr, "Usage: %s mount_point [-d]"
" [-c bfs_cluster_addr]"
" [-p bfs_path]\n",
argv[0]);
fprintf(stderr, "\t-d Fuse debug (optional)\n"
"\t-c bfs_cluster_addr Ip:port\n"
"\t-p bfs_path The path in BFS which you mount to the mount_point\n"
"Example:\n"
" %s /mnt/bfs -d -c 127.0.0.1:8827 -p /\n",
argv[0]);
return 1;
}

Expand Down

0 comments on commit 3f0bd41

Please sign in to comment.