Skip to content

Commit f72a81e

Browse files
committed
Fix newline for start subcommand output
1 parent f36bfd1 commit f72a81e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "A time tracking command-line utility"
44
repository = "https://github.com/chdsbd/doug"
55
documentation = "https://github.com/chdsbd/doug/blob/master/README.md"
66
license = "MIT"
7-
version = "1.2.1"
7+
version = "1.2.2"
88
authors = ["Christopher Dignam <chris@dignam.xyz>"]
99

1010
[dependencies]

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ fn start(project_name: &str, mut periods: Vec<Period>, save: fn(&[Period])) {
156156
}
157157
}
158158
let current_period = create_period(project_name);
159-
print!(
159+
println!(
160160
"Started tracking project {} at {}",
161161
current_period.project.blue(),
162162
format_time(current_period.start_time)

0 commit comments

Comments
 (0)