Skip to content

Commit

Permalink
remove serveropts
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years committed Aug 22, 2023
1 parent 261137d commit d7c407c
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,18 +107,6 @@ pub struct LoggingOpts {
pub trace_spans: Vec<FmtSpan>,
}

/// Options to run in server mode.
#[derive(Debug, Clone, clap::Args)]
#[clap(next_help_heading = "Server options")]
pub struct ServerOpts {
/// Start in server mode, binding to the given socket path.
///
/// The socket can be used to send commands to `ghcid-ng` and to receive event notifications
/// back in turn. The communication protocol is unstable for now.
#[arg(long, value_name = "PATH")]
pub socket: Option<Utf8PathBuf>,
}

impl Opts {
/// Perform late initialization of the command-line arguments. If `init` isn't called before
/// the arguments are used, the behavior is undefined.
Expand Down

0 comments on commit d7c407c

Please sign in to comment.