SkFlags now follows proper dashing convention.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 9 Apr 2013 21:25:46 +0000 (21:25 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 9 Apr 2013 21:25:46 +0000 (21:25 +0000)
commit604e0c249ef0e11a1b8bc41195081363fd86d892
tree7e62c386fd9edbbba5833674ee25cd0be84a6a97
parentc53404ed1e54e564b2091c0063833f379487a2ca
SkFlags now follows proper dashing convention.

Two dashes are used for flags with multiple characters, and one
dash is used for flags with single characters.

In GM, changed '-wp' to '-p' (the command to choose a directory
for writing SKPs) to fit with the convention.

In render_pictures and bench_pictures, changed the flag for
read and write path to have full names (which are consistent)
and use the old single character names as their shortcuts.

SkCommandLineFlags: Updated the documentation, and only allow
-h or --help for help (again, to match the convention).
Also enforce the single character limit for the short name, and
require the full name to be at least two characters.

Provide full names for skhello.

BUG=https://code.google.com/p/skia/issues/detail?id=1174

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

git-svn-id: http://skia.googlecode.com/svn/trunk@8582 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/gmmain.cpp
tools/PictureRenderingFlags.cpp
tools/bench_pictures_main.cpp
tools/flags/SkCommandLineFlags.cpp
tools/flags/SkCommandLineFlags.h
tools/render_pictures_main.cpp
tools/skhello.cpp