summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2011-01-10 14:23:49 +0100
committerGravatar Martin Szulecki2011-01-12 12:17:32 +0100
commitade66de829129b1ea9bc1482fa5a10183542795e (patch)
treea00a5875fec8900c335aebe8f460e72e8b0c9d99
parent7c577ac51cff3e93beda7844611cce2d2394360e (diff)
downloadifuse-ade66de829129b1ea9bc1482fa5a10183542795e.tar.gz
ifuse-ade66de829129b1ea9bc1482fa5a10183542795e.tar.bz2
Add Apple TV to help output and "humanize" some error strings
-rw-r--r--src/ifuse.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/ifuse.c b/src/ifuse.c
index c96c836..134d868 100644
--- a/src/ifuse.c
+++ b/src/ifuse.c
@@ -606,7 +606,7 @@ static struct fuse_operations ifuse_oper = {
static void print_usage()
{
fprintf(stderr, "Usage: ifuse <mount_point> [OPTIONS]\n");
- fprintf(stderr, "Mount filesystem of an iPhone/iPod Touch/iPad.\n\n");
+ fprintf(stderr, "Mount filesystem of an iPhone, iPod Touch, iPad or Apple TV.\n\n");
fprintf(stderr, " -o opt,[opt...]\tmount options\n");
fprintf(stderr, " -u, --uuid UUID\tmount specific device by its 40-digit device UUID\n");
fprintf(stderr, " -h, --help\t\tprint usage information\n");
@@ -746,8 +746,7 @@ int main(int argc, char *argv[])
fprintf(stderr, "Failed to start AFC service '%s' on the device.\n", opts.service_name);
if (!strcmp(opts.service_name, AFC2_SERVICE_NAME)) {
fprintf(stderr, "This service enables access to the root filesystem of your device.\n");
- fprintf(stderr, "Your device needs to be jailbroken and have this service installed.\n");
- fprintf(stderr, "Note that PwnageTool installs it while blackra1n does not.\n");
+ fprintf(stderr, "Your device needs to be jailbroken and have the AFC2 service installed.\n");
}
return EXIT_FAILURE;
}
@@ -756,7 +755,7 @@ int main(int argc, char *argv[])
if (!strcmp(opts.service_name, HOUSE_ARREST_SERVICE_NAME)) {
house_arrest_client_new(phone, opts.port, &house_arrest);
if (!house_arrest) {
- fprintf(stderr, "Could not start house_arrest service!\n");
+ fprintf(stderr, "Could not start document sharing service!\n");
return EXIT_FAILURE;
}
if (house_arrest_send_command(house_arrest, "VendContainer", opts.appid) != HOUSE_ARREST_E_SUCCESS) {
@@ -766,7 +765,7 @@ int main(int argc, char *argv[])
plist_t dict = NULL;
if (house_arrest_get_result(house_arrest, &dict) != HOUSE_ARREST_E_SUCCESS) {
- fprintf(stderr, "Could not get result from house_arrest service!\n");
+ fprintf(stderr, "Could not get result from document sharing service!\n");
goto leave_err;
}
plist_t node = plist_dict_get_item(dict, "Error");