diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index e67798e9f390..55ff0064295d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,8 +25,11 @@ fn run_ls() { content }; - let queue_name = path.components().last().unwrap().as_os_str(); - println!("{:?}: {}", queue_name, status) + let queue_name = path.components().last().unwrap() + .as_os_str() + .to_string_lossy(); + + println!("/{}: {}", queue_name, status) }; } @@ -195,7 +198,7 @@ fn main() { let matches = App::new("mq") .setting(AppSettings::SubcommandRequiredElseHelp) - .version("0.0.1") + .version("1.0.0") .about("Administrate and inspect POSIX message queues") .subcommand(ls) .subcommand(inspect) |