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
Usage: ./ios-deploy [OPTION]... Usage: ./ios-deploy [OPTION]...
-d, --debug launch the app in GDB after installation -d, --debug launch the app in GDB after installation\n"
-i, --id <device_id> the id of the device to connect to -i, --id <device_id> the id of the device to connect to\n"
-c, --detect only detect if the device is connected -c, --detect only detect if the device is connected\n"
-b, --bundle <bundle.app> the path to the app bundle to be installed -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 -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 -t, --timeout <timeout> number of seconds to wait for a device to be connected\n"
-u, --unbuffered don't buffer stdout -u, --unbuffered don't buffer stdout\n"
-g, --gdbargs <args> extra arguments to pass to GDB when starting the debugger -g, --gdbargs <args> extra arguments to pass to GDB when starting the debugger\n"
-x, --gdbexec <file> GDB commands script file -x, --gdbexec <file> GDB commands script file\n"
-n, --nostart do not start the app when debugging -n, --nostart do not start the app when debugging\n"
-I, --noninteractive start in non interactive mode (quit when app crashes or exits) -I, --noninteractive start in non interactive mode (quit when app crashes or exits)\n"
-L, --justlaunch just launch the app and exit lldb -L, --justlaunch just launch the app and exit lldb\n"
-v, --verbose enable verbose output -v, --verbose enable verbose output\n"
-m, --noinstall directly start debugging without app install (-d not required) -m, --noinstall directly start debugging without app install (-d not required)\n"
-p, --port <number> port used for device, default: 12345 -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) -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 -1, --bundle_id <bundle id> specify bundle id for list and upload\n"
-l, --list list files -l, --list list files\n"
-o, --upload <file> upload file -o, --upload <file> upload file\n"
-2, --to <target pathname> use together with upload file. specify target for upload -w, --download download app tree\n"
-V, --version print the executable version -2, --to <target pathname> use together with up/download file/tree. specify target\n"
-V, --version print the executable version \n",
## Demo ## 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" " -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" " -t, --timeout <timeout> number of seconds to wait for a device to be connected\n"
" -u, --unbuffered don't buffer stdout\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" " -n, --nostart do not start the app when debugging\n"
" -I, --noninteractive start in non interactive mode (quit when app crashes or exits)\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" " -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' }, { "args", required_argument, NULL, 'a' },
{ "verbose", no_argument, NULL, 'v' }, { "verbose", no_argument, NULL, 'v' },
{ "timeout", required_argument, NULL, 't' }, { "timeout", required_argument, NULL, 't' },
{ "gdbexec", no_argument, NULL, 'x' },
{ "unbuffered", no_argument, NULL, 'u' }, { "unbuffered", no_argument, NULL, 'u' },
{ "nostart", no_argument, NULL, 'n' }, { "nostart", no_argument, NULL, 'n' },
{ "noninteractive", no_argument, NULL, 'I' }, { "noninteractive", no_argument, NULL, 'I' },