From 4e11e4f14898e1b47b538174d8e7db8fd69a4e42 Mon Sep 17 00:00:00 2001 From: jamie Date: Sat, 29 Aug 2026 22:19:28 +0100 Subject: chore: rename main binary to mmx150d and set default-run --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 8582db1..9392692 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -//! mmx150 — connection monitoring for the beyerdynamic MMX 150 wireless +//! mmx150d — connection monitoring for the beyerdynamic MMX 150 wireless //! dongle. use std::process::{Child, Command, ExitCode, Stdio}; @@ -21,7 +21,7 @@ fn main() -> ExitCode { fn print_usage() { eprintln!( - "usage: mmx150 \n\ + "usage: mmx150d \n\ \n\ daemon options:\n\ \x20 --on-connect CMD run CMD (via sh -c) when the headset connects\n\ @@ -32,7 +32,7 @@ fn print_usage() { status exit codes: 0 connected, 1 disconnected, 2 dongle missing/error\n\ \n\ example:\n\ - \x20 mmx150 daemon \\\n\ + \x20 mmx150d daemon \\\n\ \x20 --on-connect 'wpctl set-default ' \\\n\ \x20 --on-disconnect 'wpctl set-default '\n\ \n\ -- cgit v1.3.1