Browse code

utils/sercmd: Fixed getopt() missing param

Getopt was missing the -U param

Marius Zbihlei authored on 21/01/2010 15:32:42
Showing 1 changed files
... ...
@@ -1885,7 +1885,7 @@ int main(int argc, char** argv)
1885 1885
 	port_no=0;
1886 1886
 	sock_type=UNIXS_SOCK;
1887 1887
 	opterr=0;
1888
-	while((c=getopt(argc, argv, "Vhs:D:R:vf:"))!=-1){
1888
+	while((c=getopt(argc, argv, "UVhs:D:R:vf:"))!=-1){
1889 1889
 		switch(c){
1890 1890
 			case 'V':
1891 1891
 				printf("version: %s\n", version);