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
pull/162/head
Jake McGinty 2021-09-21 12:46:56 +09:00
parent cac46dbf30
commit bfa5d5ee5d
1 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ enum Command {
/// Uninstall an innernet network. /// Uninstall an innernet network.
Uninstall { interface: Interface }, Uninstall { interface: Interface },
/// Bring down the interface (equivalent to "wg-quick down <interface>") /// Bring down the interface (equivalent to 'wg-quick down <interface>')
Down { interface: Interface }, Down { interface: Interface },
/// Add a new peer. /// Add a new peer.
@ -141,7 +141,7 @@ enum Command {
/// By default, you'll be prompted interactively to create a peer, but you can /// By default, you'll be prompted interactively to create a peer, but you can
/// also specify all the options in the command, eg: /// 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 { AddPeer {
interface: Interface, interface: Interface,
@ -154,7 +154,7 @@ enum Command {
/// By default, you'll be prompted interactively to select a peer, but you can /// By default, you'll be prompted interactively to select a peer, but you can
/// also specify all the options in the command, eg: /// also specify all the options in the command, eg:
/// ///
/// --name "person" --new-name "human" /// --name 'person' --new-name 'human'
RenamePeer { RenamePeer {
interface: Interface, interface: Interface,