aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb.py
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2015-09-03 17:22:27 -0700
committerJosh Gao <jmgao@google.com>2015-09-04 15:57:14 -0700
commit8dddfdf467c145ac4843867d8cb2948f1ff6fba1 (patch)
treebb6cc75e400ba6a5d142c62d18c66abe5268fc85 /ndk-gdb.py
parent371bdb58ec6e7775630c8f206885920dbd11bf31 (diff)
downloadndk-8dddfdf467c145ac4843867d8cb2948f1ff6fba1.tar.gz
More ndk-gdb.py argument tweaks.
Change-Id: I4be46cc93159b28faf78d8231b24d918fa330788
Diffstat (limited to 'ndk-gdb.py')
-rwxr-xr-xndk-gdb.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/ndk-gdb.py b/ndk-gdb.py
index 41b178dc0..b6b58ed43 100755
--- a/ndk-gdb.py
+++ b/ndk-gdb.py
@@ -165,15 +165,16 @@ Read ''' + NDK + '''/docs/NDK-GDB.html for complete usage instructions.''',
action='store_true')
app_group = parser.add_argument_group('application debugging')
- app_group.add_argument( '--start',
+ start_group = app_group.add_mutually_exclusive_group()
+ start_group.add_argument( '--start',
help='Launch application instead of attaching to existing one',
action='store_true')
- app_group.add_argument( '--launch',
+ start_group.add_argument( '--launch',
help='Same as --start, but specify activity name (see below)',
dest='launch_name', nargs=1)
- app_group.add_argument( '--launch-list',
+ start_group.add_argument( '--launch-list',
help='List all launchable activity names from manifest',
action='store_true')