From d49d35e00c6c7853285875bf8bbe7c3a6b7c9d00 Mon Sep 17 00:00:00 2001 From: zachmann Date: Mon, 26 Aug 2024 18:12:29 +0200 Subject: [PATCH] change bind-address option --- CHANGELOG.md | 5 +++++ src/oidc-agent/oidc-agent_options.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ba3e744..de5465a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,11 @@ - Added possibility to add custom request parameters to requests done by the agent. This is done through a `custom_parameters.config` file placed in the agent dir or `/etc/oidc-agent` +## Changes + +- Renamed the long option of `oidc-agent` `-a` from `--bind_address` to + `--bind-address`. + ### Change / Enhancement / Bugfix The previous release stated that: diff --git a/src/oidc-agent/oidc-agent_options.c b/src/oidc-agent/oidc-agent_options.c index 11c443a5..3275a85b 100644 --- a/src/oidc-agent/oidc-agent_options.c +++ b/src/oidc-agent/oidc-agent_options.c @@ -85,7 +85,7 @@ static struct argp_option options[] = { "'XXXXXX' as the last six characters of a directory in the path to " "substitute them with random characters.", 1}, - {"bind_address", 'a', "PATH", OPTION_ALIAS, NULL, 1}, + {"bind-address", 'a', "PATH", OPTION_ALIAS, NULL, 1}, {"always-allow-idtoken", OPT_ALWAYS_ALLOW_IDTOKEN, 0, 0, "Always allow id-token requests without manual approval by the user.", 1}, {"json", OPT_JSON, 0, 0,