aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 49c519a..2ff29ac 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3160,7 +3160,7 @@ static void usage() {
static void parse_program_args(int argc, char **argv, ProgramArgs *program_args) {
memset(program_args, 0, sizeof(*program_args));
- for(int i = 0; i < argc; ++i) {
+ for(int i = 1; i < argc; ++i) {
const char *arg = argv[i];
if(strcmp(arg, "--kms-server") == 0) {
program_args->kms_server = true;