Authd now uses '-k' instead of '-K' (like other services).

This commit is contained in:
Philippe Pittoli 2023-02-15 15:19:22 +01:00
parent 78838f5ab9
commit d9e0e6b09b
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ $ authd --help
usage: authd [options]
-s directory, --storage directory
Directory in which to store users.
-K file, --key-file file JWT key file
-k file, --key-file file JWT key file
-R --allow-registrations
-h, --help Show this help
$
@ -66,7 +66,7 @@ Example:
```
$ echo "I am a key." > key-file
$ authd -K ./key-file
$ authd -k ./key-file
```
## APIs

View File

@ -189,7 +189,7 @@ begin
configuration.storage = directory
end
parser.on "-K file", "--key-file file", "JWT key file" do |file_name|
parser.on "-k file", "--key-file file", "JWT key file" do |file_name|
configuration.shared_key = File.read(file_name).chomp
end