add leadfinder, add double pendulum
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user