From bfa5d5ee5db58d9242d13a726b6c8b8edab0e6b7 Mon Sep 17 00:00:00 2001 From: Jake McGinty Date: Tue, 21 Sep 2021 12:46:56 +0900 Subject: [PATCH] client: change rustdoc double-quotes to single for zsh completions. clap (used by StructOpt) doesn't escape double-quotes inside the rustdocs that is uses to generate completion helptext. Rather than wait on them, it's simpler to just avoid double-quotes for now at least. Closes #156 --- client/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/src/main.rs b/client/src/main.rs index 6fc682a..13455b8 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -133,7 +133,7 @@ enum Command { /// Uninstall an innernet network. Uninstall { interface: Interface }, - /// Bring down the interface (equivalent to "wg-quick down ") + /// Bring down the interface (equivalent to 'wg-quick down ') Down { interface: Interface }, /// Add a new peer. @@ -141,7 +141,7 @@ enum Command { /// By default, you'll be prompted interactively to create a peer, but you can /// also specify all the options in the command, eg: /// - /// --name "person" --cidr "humans" --admin false --auto-ip --save-config "person.toml" --yes + /// --name 'person' --cidr 'humans' --admin false --auto-ip --save-config 'person.toml' --yes AddPeer { interface: Interface, @@ -154,7 +154,7 @@ enum Command { /// By default, you'll be prompted interactively to select a peer, but you can /// also specify all the options in the command, eg: /// - /// --name "person" --new-name "human" + /// --name 'person' --new-name 'human' RenamePeer { interface: Interface,