Skip to content

Commit 535505e

Browse files
committed
Add help information to the configure script
1 parent 2578c48 commit 535505e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

configure

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ def main():
135135
config.config_path = config.source_root.path_by_appending(".configuration")
136136

137137
parser = argparse.ArgumentParser(description='Configure and emit ninja build scripts for building.')
138-
parser.add_argument('--target', dest='target', type=str, default=Target.default())
139-
parser.add_argument('--sysroot', dest='sysroot', type=str, default=None)
140-
parser.add_argument('--toolchain', dest='toolchain', type=str, default=None)
141-
parser.add_argument('--linker', dest='linker', type=str, default=None)
138+
parser.add_argument('--target', dest='target', type=str, default=Target.default(), help="specify the deployment target")
139+
parser.add_argument('--sysroot', dest='sysroot', type=str, default=None, help="the system root directory for building")
140+
parser.add_argument('--toolchain', dest='toolchain', type=str, default=None, help="the base location for finding tools to compile")
141+
parser.add_argument('--linker', dest='linker', type=str, default=None, help="which linker program to use")
142142
parser.add_argument('--pkg-config', dest='pkg_config', type=str, default="pkg-config")
143-
parser.add_argument('--bootstrap', dest='bootstrap', type=str, default=os.path.join(os.path.dirname(os.path.abspath(__file__)), "bootstrap"))
144-
parser.add_argument('--reconfigure', dest='reconfigure', action="store_true")
143+
parser.add_argument('--bootstrap', dest='bootstrap', type=str, default=os.path.join(os.path.dirname(os.path.abspath(__file__)), "bootstrap"), help="a directory for bootstrapping commonly used headers and libraries not associated directly with the target operating system")
144+
parser.add_argument('--reconfigure', dest='reconfigure', action="store_true", help="re-generate the build script given the previous configuration")
145145
parser.add_argument('-v', '--verbose', dest='verbose', action="store_true")
146146
args, extras = parser.parse_known_args()
147147

0 commit comments

Comments
 (0)