Authd now uses '-k' instead of '-K' (like other services).
parent
78838f5ab9
commit
d9e0e6b09b
|
@ -32,7 +32,7 @@ $ authd --help
|
||||||
usage: authd [options]
|
usage: authd [options]
|
||||||
-s directory, --storage directory
|
-s directory, --storage directory
|
||||||
Directory in which to store users.
|
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
|
-R --allow-registrations
|
||||||
-h, --help Show this help
|
-h, --help Show this help
|
||||||
$
|
$
|
||||||
|
@ -66,7 +66,7 @@ Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ echo "I am a key." > key-file
|
$ echo "I am a key." > key-file
|
||||||
$ authd -K ./key-file
|
$ authd -k ./key-file
|
||||||
```
|
```
|
||||||
|
|
||||||
## APIs
|
## APIs
|
||||||
|
|
|
@ -189,7 +189,7 @@ begin
|
||||||
configuration.storage = directory
|
configuration.storage = directory
|
||||||
end
|
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
|
configuration.shared_key = File.read(file_name).chomp
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue