shared: follow-up to bfa5d5e, double- to single-quote in opt rustdocs

pull/162/head
Jake McGinty 2021-09-21 12:50:21 +09:00
parent bfa5d5ee5d
commit c09d828414
1 changed files with 4 additions and 4 deletions

View File

@ -322,7 +322,7 @@ pub struct AddPeerOpts {
#[structopt(long)] #[structopt(long)]
pub save_config: Option<String>, pub save_config: Option<String>,
/// Invite expiration period (eg. "30d", "7w", "2h", "60m", "1000s") /// Invite expiration period (eg. '30d', '7w', '2h', '60m', '1000s')
#[structopt(long)] #[structopt(long)]
pub invite_expires: Option<Timestring>, pub invite_expires: Option<Timestring>,
} }
@ -344,11 +344,11 @@ pub struct RenamePeerOpts {
#[derive(Debug, Clone, PartialEq, StructOpt)] #[derive(Debug, Clone, PartialEq, StructOpt)]
pub struct AddCidrOpts { pub struct AddCidrOpts {
/// The CIDR name (eg. "engineers") /// The CIDR name (eg. 'engineers')
#[structopt(long)] #[structopt(long)]
pub name: Option<Hostname>, pub name: Option<Hostname>,
/// The CIDR network (eg. "10.42.5.0/24") /// The CIDR network (eg. '10.42.5.0/24')
#[structopt(long)] #[structopt(long)]
pub cidr: Option<IpNetwork>, pub cidr: Option<IpNetwork>,
@ -363,7 +363,7 @@ pub struct AddCidrOpts {
#[derive(Debug, Clone, PartialEq, StructOpt)] #[derive(Debug, Clone, PartialEq, StructOpt)]
pub struct DeleteCidrOpts { pub struct DeleteCidrOpts {
/// The CIDR name (eg. "engineers") /// The CIDR name (eg. 'engineers')
#[structopt(long)] #[structopt(long)]
pub name: Option<String>, pub name: Option<String>,