Skip to content

Rewrite CLI to use standard argparse module.#16

Open
amscanne wants to merge 7 commits intomasterfrom
rewrite_cli
Open

Rewrite CLI to use standard argparse module.#16
amscanne wants to merge 7 commits intomasterfrom
rewrite_cli

Conversation

@amscanne
Copy link
Copy Markdown
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