From 9376da27defe265743565bb759d351aaa47073e0 Mon Sep 17 00:00:00 2001 From: Bas van der Vlies Date: Wed, 15 Jan 2025 17:54:38 +0100 Subject: [PATCH] cf-net added -p option ``` root# cf-net -H 192.168.57.29 -p latest connect cf-net: invalid option -- 'p' ``` --- cf-net/cf-net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cf-net/cf-net.c b/cf-net/cf-net.c index 87262887dd..448e8dd67a 100644 --- a/cf-net/cf-net.c +++ b/cf-net/cf-net.c @@ -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) {