|
|
@ -474,10 +474,9 @@ pub struct LaunchSubcommand {
|
|
|
|
#[structopt(long)]
|
|
|
|
#[structopt(long)]
|
|
|
|
pub shutdown_after: Option<f32>,
|
|
|
|
pub shutdown_after: Option<f32>,
|
|
|
|
|
|
|
|
|
|
|
|
/// Runs in background via daemon-mode (does nothing on windows); only applies
|
|
|
|
/// When session is socket, runs in foreground instead of spawning a background process
|
|
|
|
/// when session is socket
|
|
|
|
#[structopt(long)]
|
|
|
|
#[structopt(short, long)]
|
|
|
|
pub foreground: bool,
|
|
|
|
pub daemon: bool,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// Represents the format that results should be returned when session is "keep",
|
|
|
|
/// Represents the format that results should be returned when session is "keep",
|
|
|
|
/// causing the launcher to enter an interactive loop to handle input and output
|
|
|
|
/// causing the launcher to enter an interactive loop to handle input and output
|
|
|
@ -553,9 +552,9 @@ impl LaunchSubcommand {
|
|
|
|
/// Represents subcommand to operate in listen mode for incoming requests
|
|
|
|
/// Represents subcommand to operate in listen mode for incoming requests
|
|
|
|
#[derive(Clone, Debug, StructOpt)]
|
|
|
|
#[derive(Clone, Debug, StructOpt)]
|
|
|
|
pub struct ListenSubcommand {
|
|
|
|
pub struct ListenSubcommand {
|
|
|
|
/// Runs in background via daemon-mode (does nothing on windows)
|
|
|
|
/// Runs in foreground instead of spawning a background process
|
|
|
|
#[structopt(short, long)]
|
|
|
|
#[structopt(long)]
|
|
|
|
pub daemon: bool,
|
|
|
|
pub foreground: bool,
|
|
|
|
|
|
|
|
|
|
|
|
/// Control the IP address that the distant binds to
|
|
|
|
/// Control the IP address that the distant binds to
|
|
|
|
///
|
|
|
|
///
|
|
|
|