From c2a89de13ba70082f1c56e65c08910ef0113319a Mon Sep 17 00:00:00 2001 From: Oskar Date: Mon, 1 Jul 2024 17:12:17 +0200 Subject: fixed bug where if ID is 1 then the program doesn't just exit --- TODO | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index cd01e3a..e41460a 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,7 @@ -1. +1. FIX FUNCTION_FAILURE_U because it returns 1 when failing but what do we do in the case of no files at all? It will return ID as 0 and then the program just exits. 2. Just a note: When implementing the -L -l functions we need to make it clear what's in tmp and whats not. Not sure exactly how ill do this but i have some ideas. One way of dealing with files in tmp is to force the user to pass the -t argument if they want to deal with tmp stuff. Like if i say: 'tsr -t -l' it will only list files in the tmp trashcan. Maybe that IS the best approach to this? 3. Implement function to read log files? And maybe act upon the read contents? I'll have to think more about this. -4. +4. Handle case where we pass a bunch of options but no filename 5. Clean up some code, remove redundancy and make everything a little smarter where i can 6. ?. For now we are just warning the user to set the env variable HOME to your home dir but maybe we want to handle this even if its not set? \ No newline at end of file -- cgit v1.2.3