aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-03-11 09:39:59 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-03-11 09:39:59 -0400
commit0fc92c6f01cd383bb872dea8733c849cdb06e53f (patch)
treea71f55719b1ee4dba0f9451757c5a69aba67a817
parent3260743bf51338ad73becd62f62f0da7d1b51e8d (diff)
downloadstasis-0fc92c6f01cd383bb872dea8733c849cdb06e53f.tar.gz
Change "config" and "python" so their arguments are required
* Fixes update-base argument type. It was never supposed to take an argument.
-rw-r--r--src/main.c6
1 files changed, 3 insertions, 3 deletions
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},