summaryrefslogtreecommitdiffstats
path: root/sq
diff options
context:
space:
mode:
Diffstat (limited to 'sq')
-rw-r--r--sq/src/sq_cli.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/sq/src/sq_cli.rs b/sq/src/sq_cli.rs
index d2c527ef..b77cc0d6 100644
--- a/sq/src/sq_cli.rs
+++ b/sq/src/sq_cli.rs
@@ -7,10 +7,6 @@ pub fn build() -> App<'static, 'static> {
.version(env!("CARGO_PKG_VERSION"))
.about("Sequoia is an implementation of OpenPGP. This is a command-line frontend.")
.setting(AppSettings::SubcommandRequiredElseHelp)
- .arg(Arg::with_name("policy").value_name("NETWORK-POLICY")
- .long("policy")
- .short("p")
- .help("Sets the network policy to use"))
.arg(Arg::with_name("force")
.long("force")
.short("f")
@@ -582,6 +578,10 @@ pub fn build() -> App<'static, 'static> {
} else {
// With networking support.
app
+ .arg(Arg::with_name("policy").value_name("NETWORK-POLICY")
+ .long("policy")
+ .short("p")
+ .help("Sets the network policy to use"))
.subcommand(SubCommand::with_name("keyserver")
.display_order(40)
.about("Interacts with keyservers")