File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1831,7 +1831,7 @@ void usage(const char* app) {
1831
1831
@" -t, --timeout <timeout> number of seconds to wait for a device to be connected\n "
1832
1832
@" -u, --unbuffered don't buffer stdout\n "
1833
1833
@" -n, --nostart do not start the app when debugging\n "
1834
- @" -N, --nolldb start debugserver only. do not run lldb\n "
1834
+ @" -N, --nolldb start debugserver only. do not run lldb. Can not be used with args or envs options \n "
1835
1835
@" -I, --noninteractive start in non interactive mode (quit when app crashes or exits)\n "
1836
1836
@" -L, --justlaunch just launch the app and exit lldb\n "
1837
1837
@" -v, --verbose enable verbose output\n "
@@ -2037,6 +2037,11 @@ int main(int argc, char *argv[]) {
2037
2037
return exitcode_error;
2038
2038
}
2039
2039
}
2040
+
2041
+ if (debugserver_only && (args || envs)) {
2042
+ usage (argv[0 ]);
2043
+ on_error (@" The --args and --envs options can not be combined with --nolldb." );
2044
+ }
2040
2045
2041
2046
if (!app_path && !detect_only && !command_only) {
2042
2047
usage (argv[0 ]);
You can’t perform that action at this time.
0 commit comments