diff --git a/loco-gen/src/templates/scheduler/scheduler.t b/loco-gen/src/templates/scheduler/scheduler.t index b83be8c2c..d1f548e83 100644 --- a/loco-gen/src/templates/scheduler/scheduler.t +++ b/loco-gen/src/templates/scheduler/scheduler.t @@ -1,6 +1,6 @@ to: "config/scheduler.yaml" skip_exists: true -message: "A Scheduler job configuration was added successfully. Run with `cargo loco run scheduler --list`." +message: "A Scheduler job configuration was added successfully. Run with `cargo loco scheduler --list`." --- output: stdout diff --git a/loco-gen/tests/templates/scheduler.rs b/loco-gen/tests/templates/scheduler.rs index 46acdb364..cc6448c11 100644 --- a/loco-gen/tests/templates/scheduler.rs +++ b/loco-gen/tests/templates/scheduler.rs @@ -31,7 +31,7 @@ fn can_generate() { assert_eq!( collect_messages(&gen_result), - r"* A Scheduler job configuration was added successfully. Run with `cargo loco run scheduler --list`. + r"* A Scheduler job configuration was added successfully. Run with `cargo loco scheduler --list`. " );