Add commandline.ArgumentParser that inherits from BaseParser.

Adds a common ArgumentParser to be used by chromite tools that
inherits the logging/caching benefits of OptionParser for use with
chromite.lib.

BUG=None
TEST=cbuildbot + cros + all unittests + pylint

Change-Id: I031fe81b299fa4390216e4422e8b95c9f8a819b6
Reviewed-on: https://gerrit.chromium.org/gerrit/35336
Commit-Ready: Chris Sosa <sosa@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
Tested-by: Chris Sosa <sosa@chromium.org>
diff --git a/scripts/cros.py b/scripts/cros.py
index 8bf02e3..a01c2c6 100644
--- a/scripts/cros.py
+++ b/scripts/cros.py
@@ -2,20 +2,13 @@
 # Use of this source code is governed by a BSD-style license that can be
 # found in the LICENSE file.
 
-import sys
-
-# Older versions of Python might be missing argparse.
-try:
-  import argparse
-except ImportError:
-  from chromite.third_party import argparse
-
 from chromite.cros import commands
+from chromite.lib import commandline
 
 
 def GetOptions(my_commands):
   """Returns the argparse to use for Cros."""
-  parser = argparse.ArgumentParser()
+  parser = commandline.ArgumentParser()
   if not commands:
     return parser