Skip to content

Commit

Permalink
Update help message
Browse files Browse the repository at this point in the history
  • Loading branch information
lungothrin committed Nov 28, 2021
1 parent afddddf commit dd0e076
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/bin/bottled.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ fn main() {
.setting(clap::AppSettings::SubcommandRequired)
.subcommand(
clap::SubCommand::with_name("is-inside")
.about("Return 0 if invoked from inside of a bottled systemd environment")
.about("Return 0 if invoked inside a systemd-enabled namespace")
)
.subcommand(
clap::SubCommand::with_name("is-running")
.about("Return 0 if a bottled systemd environment is running")
.about("Return 0 if systemd is running")
)
.subcommand(
clap::SubCommand::with_name("start")
.about("Start a bottled systemd environment")
.about("Start systemd in a Linux namespace(mount, pid)")
)
.subcommand(
clap::SubCommand::with_name("stop")
.about("Start running bottled systemd environment")
.about("Stop systemd")
)
.subcommand(
clap::SubCommand::with_name("shell")
.about("Start running bottled systemd environment")
.about("Start a shell inside systemd-enabled namespace using machinectl-shell")
.arg(
clap::Arg::with_name("shell")
.short("s")
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fn main() {

let mut app = clap::App::new(clap::crate_name!())
.version(clap::crate_version!())
.about("launch bottled shell. replacing login shell")
.about("launch a systemd-enabled shell")
.setting(clap::AppSettings::TrailingVarArg)
.setting(clap::AppSettings::DontDelimitTrailingValues)
.setting(clap::AppSettings::AllowLeadingHyphen)
Expand Down

0 comments on commit dd0e076

Please sign in to comment.