Skip to content

Commit a049b6a

Browse files
authored
Merge pull request #5680 from basvandervlies/cfnet/optarg_fix
cf-net added -p option
2 parents 65657b5 + 9376da2 commit a049b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf-net/cf-net.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ static int CFNetParse(int argc, char **argv,
289289
*hostnames = NULL;
290290
int c = 0;
291291
int start_index = 1;
292-
const char *optstr = "+hMg:H:dvI"; // + means stop for non opt arg. :)
292+
const char *optstr = "+hMg:H:p:dvI"; // + means stop for non opt arg. :)
293293
while ((c = getopt_long(argc, argv, optstr, OPTIONS, &start_index))
294294
!= -1)
295295
{

0 commit comments

Comments
 (0)