diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-11 09:39:59 -0400 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-11 09:39:59 -0400 | 
| commit | 0fc92c6f01cd383bb872dea8733c849cdb06e53f (patch) | |
| tree | a71f55719b1ee4dba0f9451757c5a69aba67a817 /src | |
| parent | 3260743bf51338ad73becd62f62f0da7d1b51e8d (diff) | |
| download | stasis-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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| @@ -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}, | 
