mirror of
https://github.com/fosrl/newt.git
synced 2026-03-10 12:46:38 +00:00
fix flag
This commit is contained in:
committed by
Owen Schwartz
parent
00a5fa1f37
commit
b7af49d759
2
main.go
2
main.go
@@ -405,7 +405,7 @@ func runNewtMain(ctx context.Context) {
|
|||||||
|
|
||||||
// Auth daemon flags
|
// Auth daemon flags
|
||||||
if authDaemonKey == "" {
|
if authDaemonKey == "" {
|
||||||
flag.StringVar(&authDaemonKey, "ad-preshared-key", "", "Preshared key for auth daemon authentication (required when --auth-daemon is true)")
|
flag.StringVar(&authDaemonKey, "ad-pre-shared-key", "", "Pre-shared key for auth daemon authentication")
|
||||||
}
|
}
|
||||||
if authDaemonPrincipalsFile == "" {
|
if authDaemonPrincipalsFile == "" {
|
||||||
flag.StringVar(&authDaemonPrincipalsFile, "ad-principals-file", "/var/run/auth-daemon/principals", "Path to the principals file for auth daemon")
|
flag.StringVar(&authDaemonPrincipalsFile, "ad-principals-file", "/var/run/auth-daemon/principals", "Path to the principals file for auth daemon")
|
||||||
|
|||||||
Reference in New Issue
Block a user