Skip to content

Commit

Permalink
Merge pull request #5680 from basvandervlies/cfnet/optarg_fix
Browse files Browse the repository at this point in the history
cf-net added -p option
  • Loading branch information
larsewi authored Jan 16, 2025
2 parents 65657b5 + 9376da2 commit a049b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf-net/cf-net.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ static int CFNetParse(int argc, char **argv,
*hostnames = NULL;
int c = 0;
int start_index = 1;
const char *optstr = "+hMg:H:dvI"; // + means stop for non opt arg. :)
const char *optstr = "+hMg:H:p:dvI"; // + means stop for non opt arg. :)
while ((c = getopt_long(argc, argv, optstr, OPTIONS, &start_index))
!= -1)
{
Expand Down

0 comments on commit a049b6a

Please sign in to comment.