chromium-src-build/util
raphael.kubo.da.costa@intel.com a4d003eb7a version.py: Use argparse instead of getopt.
Rewrite the argument handling code using argparse. It allows us to get
rid of a lot of manual parsing as well as the whole help message.

In addition, it fixes a few other bugs present in the previous
implementation:

- Passing 3 or more arguments that are not values for parameters would
  cause an infinite loop.
- The "--template" option was not allowed (only its short form "-t"
  was).

R=mark@chromium.org, brettw@chromium.org

Review URL: https://codereview.chromium.org/336513002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@277450 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-06-16 15:41:40 +00:00
..
lib/common Telemetry: Don't use scientific notation for floats when printing results. 2013-11-13 16:23:37 +00:00
BUILD.gn GN build improvements, misc plus 2014-05-20 19:20:40 +00:00
OWNERS Move files from the secondary GN directory to build. 2013-11-20 22:21:03 +00:00
lastchange.py Add a target in GN that generates a last_change.h file for the SVN revision. 2013-11-08 20:31:13 +00:00
version.gypi [Android] Workaround of an android platform bug. 2014-03-21 12:39:56 +00:00
version.py version.py: Use argparse instead of getopt. 2014-06-16 15:41:40 +00:00