[Pvfs2-cvs] commit by mtmoore in pvfs2/src/server: pvfs2-server.c

CVS commit program cvs at parl.clemson.edu
Tue Jun 7 21:07:22 EDT 2011


Update of /projects/cvsroot/pvfs2/src/server
In directory parlweb1:/tmp/cvs-serv21670/pvfs2/src/server

Modified Files:
      Tag: Orange-Branch
	pvfs2-server.c 
Log Message:
pvfs2-server alias option takes an argument


Index: pvfs2-server.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/src/server/pvfs2-server.c,v
diff -p -u -r1.269.4.15 -r1.269.4.16
--- pvfs2-server.c	8 Jun 2011 00:16:39 -0000	1.269.4.15
+++ pvfs2-server.c	8 Jun 2011 01:07:21 -0000	1.269.4.16
@@ -1699,7 +1699,7 @@ static int server_parse_cmd_line_args(in
         {"rmfs",0,0,0},
         {"version",0,0,0},
         {"pidfile",1,0,0},
-        {"alias",0,0,0},
+        {"alias",1,0,0},
         {0,0,0,0}
     };
 
@@ -1771,6 +1771,7 @@ static int server_parse_cmd_line_args(in
             case 'a':
           do_alias:
                 total_arguments++;
+                printf("optarg: %s\n", optarg);
                 s_server_options.server_alias = strdup(optarg);
                 break;
             case '?':



More information about the Pvfs2-cvs mailing list