Skip to content

Commit

Permalink
cf-net added -p option
Browse files Browse the repository at this point in the history
```
root# cf-net -H 192.168.57.29 -p latest connect
cf-net: invalid option -- 'p'
```
  • Loading branch information
basvandervlies committed Jan 15, 2025
1 parent 65657b5 commit 9376da2
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 9376da2

Please sign in to comment.