add leadfinder, add double pendulum

This commit is contained in:
2026-04-01 17:24:51 +02:00
parent cfd761c70c
commit 22106a8170
30 changed files with 8147 additions and 18441 deletions

View File

@@ -67,7 +67,7 @@ fn update_notes(notes_path: &PathBuf, patterns_path: Option<PathBuf>) {
let mut latest_date = NaiveDate::MIN;
let mut lines_to_not_use: Vec<usize> = Vec::new();
// Find todo-type lines
// Find todo-type lines from existing file
let mut n_lines = 0;
while let Ok(n) = notes_bufreader.read_line(&mut str_buf1) {
if n == 0 {
@@ -205,7 +205,7 @@ fn update_notes(notes_path: &PathBuf, patterns_path: Option<PathBuf>) {
fn main() {
let args = Args::parse();
if args.patterns == None {
dbg!("Warning: No patterns argument given. Will not generate any pattern-type todos");
println!("Warning: No patterns argument given. Will not generate any pattern-type todos");
}
update_notes(&args.notes, args.patterns);
}