mirror of
https://github.com/fosrl/newt.git
synced 2026-03-07 11:16:39 +00:00
fix flag
This commit is contained in:
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