From 0fc92c6f01cd383bb872dea8733c849cdb06e53f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 11 Mar 2024 09:39:59 -0400 Subject: Change "config" and "python" so their arguments are required * Fixes update-base argument type. It was never supposed to take an argument. --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 0a5d6ba..25e3a55 100644 --- a/src/main.c +++ b/src/main.c @@ -43,11 +43,11 @@ static struct option long_options[] = { {"help", no_argument, 0, 'h'}, {"version", no_argument, 0, 'V'}, {"continue-on-error", no_argument, 0, 'C'}, - {"config", optional_argument, 0, 'c'}, - {"python", optional_argument, 0, 'p'}, + {"config", required_argument, 0, 'c'}, + {"python", required_argument, 0, 'p'}, {"verbose", no_argument, 0, 'v'}, {"unbuffered", no_argument, 0, 'U'}, - {"update-base", optional_argument, 0, OPT_ALWAYS_UPDATE_BASE}, + {"update-base", no_argument, 0, OPT_ALWAYS_UPDATE_BASE}, {"no-docker", no_argument, 0, OPT_NO_DOCKER}, {"no-artifactory", no_argument, 0, OPT_NO_ARTIFACTORY}, {"no-testing", no_argument, 0, OPT_NO_TESTING}, -- cgit