Hint at using sq network wkd publish --create.

- Fixes #324.
This commit is contained in:
Justus Winter 2024-08-30 16:27:47 +02:00
parent dd5ee688fb
commit 555478622b
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -1074,7 +1074,8 @@ pub fn dispatch_wkd(mut sq: Sq, c: cli::network::wkd::Command)
} else {
return Err(anyhow::anyhow!("No policy file found")
.context("Neither direct nor advanced \
WKD detected"))
WKD detected, consider using \
--create"))
},
(true, true) =>
return Err(anyhow::anyhow!("Two policy files found")