Skip to content
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

Rewrite CLI to use standard argparse module. #16

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

amscanne
Copy link
Owner

No description provided.

amrali and others added 7 commits December 26, 2013 00:09
* Use argparse for option handling
* Remove global variables and put them under an argparse namespace
* Replace 'print' statements with the appropriate log calls
* Replace sys.stderr calls with the appropriate log calls
* Remove global variable HUPTIME_DEBUG
This will automatically clean-up all the child processes spawned
by --multi whenever the parent dies. This is much more useful for
integration with a supervisor (like upstart) because you can easily
kill the collection without needing to use killall or --stop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants