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

Options cleanup #42

Merged
merged 3 commits into from Sep 16, 2013
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

lose unused verbose option

  • Loading branch information
Mike Blume
Mike Blume committed Sep 16, 2013
commit f695b874b7176c7468d41a6c548d3768700ccb63
@@ -1447,7 +1447,6 @@ def parse_args(self, *args, **kwargs):
\tloggly_help Guideline for users for each step to configure syslog
\tdryrun Perform configuration steps without modifying anything
Option:
\t-v|--verbose Print detailed logs on console
'''.lstrip()

def parse_options():
@@ -1460,8 +1459,6 @@ def parse_options():
choices=('install', 'uninstall', 'verify',
'sysinfo', 'loggly_help', 'dryrun'))
parser.add_option("-s", "--subdomain")
parser.add_option("-v", "--verbose", action="store_true",
dest="verbose", default=False)
parser.add_option("-a", "--auth")
(options, args) = parser.parse_args()
return options
@@ -1473,7 +1470,6 @@ def main():
options = parse_options()
global LOGGLY_QA
LOGGLY_QA = os.environ.get('LOGGLY_QA', '').split()
is_printLog = options.verbose
version_compatibility_check(MINIMUM_SUPPORTED_PYTHON_VERSION)

if options.action == 'loggly_help':
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.