aboutsummaryrefslogtreecommitdiffstats
path: root/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'build.py')
-rwxr-xr-xbuild.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.py b/build.py
index 34cc19f..ddafc21 100755
--- a/build.py
+++ b/build.py
@@ -14,9 +14,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
+"""Builds GCC for Android."""
from __future__ import print_function
import argparse
+import inspect
import multiprocessing
import os
import subprocess
@@ -51,7 +53,8 @@ ALL_TOOLCHAINS = (
class ArgParser(argparse.ArgumentParser):
def __init__(self):
super(ArgParser, self).__init__(
- description='Builds GCC for Android.')
+ description=inspect.getdoc(sys.modules[__name__]),
+ formatter_class=argparse.RawDescriptionHelpFormatter)
self.add_argument(
'--host', choices=('darwin', 'linux', 'windows', 'windows64'),