-
Notifications
You must be signed in to change notification settings - Fork 1
Add command line args #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Conversation
|
@ConniTheKiwi Cool! Although, I had originally asked for |
|
Ah i seem to have missunderstood, shouldnt be to hard to implement a timer |
|
fixes #5 |
-t <time ms> will run only for this set amount of time
|
I believe this is what you requested? |
-m <sub dir name> -m os checks /semc/logger/os
bobbbay
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added some generic code reviews - let's see how much this one helps! Cheers 😉
|
Yeh i totally agree with what you have said in this review!, |
Made error messages more appropriate and understandable
|
Ill resolve the switch issue later on as im on mobile currently lol |
Added the abilty to parse custom command line args
Added the comand line arg -t
You can now run
./main -t 1000
and it will wait 1000ms (1 second) after each check on the dir