Skip to content

Commit

Permalink
Merge pull request #309 from mstange/profile-url-stdout
Browse files Browse the repository at this point in the history
Print profile URL to stdout if --no-open or --save-only is specified.
  • Loading branch information
mstange authored Jul 23, 2024
2 parents 4b67b7c + ff5f941 commit effc751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samply/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async fn start_server(
eprintln!("Local server listening at {server_origin}");
if !server_props.open_in_browser {
if let Some(profiler_url) = &profiler_url {
eprintln!(" Open the profiler at {profiler_url}");
println!("{profiler_url}");
}
}
eprintln!("Press Ctrl+C to stop.");
Expand Down

0 comments on commit effc751

Please sign in to comment.