Authd now uses '-k' instead of '-K' (like other services).
This commit is contained in:
parent
78838f5ab9
commit
d9e0e6b09b
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user