summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/main.py')
-rwxr-xr-xbitbake/lib/bb/main.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/main.py b/bitbake/lib/bb/main.py
index bca8ebfa09..597cb27846 100755
--- a/bitbake/lib/bb/main.py
+++ b/bitbake/lib/bb/main.py
@@ -208,8 +208,10 @@ def create_bitbake_parser():
208 "failed and anything depending on it cannot be built, as much as " 208 "failed and anything depending on it cannot be built, as much as "
209 "possible will be built before stopping.") 209 "possible will be built before stopping.")
210 210
211 exec_group.add_argument("-P", "--profile", action="store_true", 211 exec_group.add_argument("-P", "--profile", action="append",
212 help="Profile the command and save reports.") 212 default=[],
213 help="Profile the command and save reports. Specify 'main', 'idle' or 'parsing' "
214 "to indicate which bitbake code to profile.")
213 215
214 exec_group.add_argument("-S", "--dump-signatures", action="append", 216 exec_group.add_argument("-S", "--dump-signatures", action="append",
215 default=[], metavar="SIGNATURE_HANDLER", 217 default=[], metavar="SIGNATURE_HANDLER",