This seems like it broke between 0.2.3 and 0.2.4. I guess the parameter was optional before and is now required or at least it doesn't recognize that RESTIC_PASSWORD is already set.
Here's the error message and what I did
❯ cat restic-azure.env
export AZURE_ACCOUNT_NAME="xyz"
export AZURE_ACCOUNT_KEY="azure_pass"
export RESTIC_REPOSITORY="azure:restic-repo:/"
export RESTIC_PASSWORD="repo_password"
❯ source restic-azure.env
❯ redu
error: the following required arguments were not provided:
<--password-command <COMMAND>|--password-file <FILE>>
Usage: redu <--repo <REPO>|--repository-file <REPOSITORY_FILE>> <--password-command <COMMAND>|--password-file <FILE>>
For more information, try '--help'.
When I go back to 0.2.3 it works as expected.