Skip to content

Commit dfa7310

Browse files
committed
test
1 parent 1297981 commit dfa7310

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/main.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ fn main() {
230230
1
231231
}
232232
};
233+
dbg!(7);
233234

234235
exit(code);
235236
}
@@ -430,10 +431,13 @@ fn try_main(
430431
config: Config,
431432
matches: ArgMatches,
432433
) -> Result<i32, OutputError> {
434+
dbg!(1);
433435
init_color_formatter(&oma, &config);
436+
dbg!(2);
434437

435438
let no_progress =
436439
oma.global.no_progress || !is_terminal() || oma.global.debug || oma.global.dry_run;
440+
dbg!(3);
437441

438442
let code = match oma.subcmd {
439443
Some(subcmd) => subcmd.execute(&config, no_progress),
@@ -468,10 +472,14 @@ fn try_main(
468472
}
469473
};
470474

475+
dbg!(5);
476+
471477
if !oma.global.no_bell && config.bell() {
472478
terminal_ring();
473479
}
474480

481+
dbg!(6);
482+
475483
code
476484
}
477485

src/subcommand/generate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ pub struct GenerateManpages {
1919

2020
impl CliExecuter for GenerateManpages {
2121
fn execute(self, _config: &Config, _no_progress: bool) -> Result<i32, OutputError> {
22+
dbg!(4);
2223
let cmd = OhManagerAilurus::command();
2324
Ok(build_man(&cmd, self.path)?)
2425
}

0 commit comments

Comments
 (0)