summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index cb9ac6c..6bac375 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -159,9 +159,9 @@ fn main() -> Result<(), ureq::Error> {
Command::ICEPortal => {
match get_request::<TripInfo>("https://iceportal.de/api1/rs/tripInfo/trip") {
Ok(resp) => {
- println!("{}: Currently in {}", traveltext, resp.get_train_ref());
- println!("guessing last stop was: {:?}", resp.guess_last_station());
- println!("{}", resp.trip())
+ println!("{}: Currently in {}\n", traveltext, resp.get_train_ref().to_string().green());
+ println!("guessing last stop was: {:?}\n", resp.guess_last_station());
+ println!("Stops:\n{}", resp.trip())
}
Err(err) => {
if cli.debug {