Removed unused gdbargs and gdbexec options.

This commit is contained in:
Shazron Abdullah 2014-11-13 23:24:27 -08:00
parent 5bfc25376a
commit 63303ea4b0
2 changed files with 22 additions and 24 deletions

View File

@ -11,27 +11,28 @@ Install and debug iPhone apps without using Xcode. Designed to work on unjailbro
## Usage
Usage: ./ios-deploy [OPTION]...
-d, --debug launch the app in GDB after installation
-i, --id <device_id> the id of the device to connect to
-c, --detect only detect if the device is connected
-b, --bundle <bundle.app> the path to the app bundle to be installed
-a, --args <args> command line arguments to pass to the app when launching it
-t, --timeout <timeout> number of seconds to wait for a device to be connected
-u, --unbuffered don't buffer stdout
-g, --gdbargs <args> extra arguments to pass to GDB when starting the debugger
-x, --gdbexec <file> GDB commands script file
-n, --nostart do not start the app when debugging
-I, --noninteractive start in non interactive mode (quit when app crashes or exits)
-L, --justlaunch just launch the app and exit lldb
-v, --verbose enable verbose output
-m, --noinstall directly start debugging without app install (-d not required)
-p, --port <number> port used for device, default: 12345
-r, --uninstall uninstall the app before install (do not use with -m; app cache and data are cleared)
-1, --bundle_id <bundle id> specify bundle id for list and upload
-l, --list list files
-o, --upload <file> upload file
-2, --to <target pathname> use together with upload file. specify target for upload
-V, --version print the executable version
-d, --debug launch the app in GDB after installation\n"
-i, --id <device_id> the id of the device to connect to\n"
-c, --detect only detect if the device is connected\n"
-b, --bundle <bundle.app> the path to the app bundle to be installed\n"
-a, --args <args> command line arguments to pass to the app when launching it\n"
-t, --timeout <timeout> number of seconds to wait for a device to be connected\n"
-u, --unbuffered don't buffer stdout\n"
-g, --gdbargs <args> extra arguments to pass to GDB when starting the debugger\n"
-x, --gdbexec <file> GDB commands script file\n"
-n, --nostart do not start the app when debugging\n"
-I, --noninteractive start in non interactive mode (quit when app crashes or exits)\n"
-L, --justlaunch just launch the app and exit lldb\n"
-v, --verbose enable verbose output\n"
-m, --noinstall directly start debugging without app install (-d not required)\n"
-p, --port <number> port used for device, default: 12345 \n"
-r, --uninstall uninstall the app before install (do not use with -m; app cache and data are cleared) \n"
-1, --bundle_id <bundle id> specify bundle id for list and upload\n"
-l, --list list files\n"
-o, --upload <file> upload file\n"
-w, --download download app tree\n"
-2, --to <target pathname> use together with up/download file/tree. specify target\n"
-V, --version print the executable version \n",
## Demo

View File

@ -1635,8 +1635,6 @@ void usage(const char* app) {
" -a, --args <args> command line arguments to pass to the app when launching it\n"
" -t, --timeout <timeout> number of seconds to wait for a device to be connected\n"
" -u, --unbuffered don't buffer stdout\n"
" -g, --gdbargs <args> extra arguments to pass to GDB when starting the debugger\n"
" -x, --gdbexec <file> GDB commands script file\n"
" -n, --nostart do not start the app when debugging\n"
" -I, --noninteractive start in non interactive mode (quit when app crashes or exits)\n"
" -L, --justlaunch just launch the app and exit lldb\n"
@ -1665,7 +1663,6 @@ int main(int argc, char *argv[]) {
{ "args", required_argument, NULL, 'a' },
{ "verbose", no_argument, NULL, 'v' },
{ "timeout", required_argument, NULL, 't' },
{ "gdbexec", no_argument, NULL, 'x' },
{ "unbuffered", no_argument, NULL, 'u' },
{ "nostart", no_argument, NULL, 'n' },
{ "noninteractive", no_argument, NULL, 'I' },