Skip to content

Commit 7c686f1

Browse files
committed
change "--no-reboot" to "-no-reboot"
1 parent b5fc228 commit 7c686f1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test-success-exit-code = {integer}
8383
# The timeout for running a test through `bootimage test` or `bootimage runner` (in seconds)
8484
test-timeout = 300
8585

86-
# Whether the `--no-reboot` flag should be passed to test executables
86+
# Whether the `-no-reboot` flag should be passed to test executables
8787
test-no-reboot = true
8888
```
8989

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub struct Config {
3333
/// An exit code that should be considered as success for test executables (applies to
3434
/// `bootimage runner`)
3535
pub test_success_exit_code: Option<i32>,
36-
/// Whether the `--no-reboot` flag should be passed to test executables
36+
/// Whether the `-no-reboot` flag should be passed to test executables
3737
///
3838
/// Defaults to `true`
3939
pub test_no_reboot: bool,

src/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ pub fn run(
2424
.collect();
2525
if is_test {
2626
if config.test_no_reboot {
27-
run_command.push("--no-reboot".to_owned());
27+
run_command.push("-no-reboot".to_owned());
2828
}
2929
if let Some(args) = config.test_args {
3030
run_command.extend(args);

0 commit comments

Comments
 (0)