summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2025-06-27 21:00:00 +0200
committerGravatar Nikias Bassen2025-06-27 21:00:00 +0200
commit39357c0eb4122eaf58382e921496984e6d0a7d5d (patch)
treee3fd81a9ccf67efcbafc187931a178655e05d3ab
parent34b170f03ab97b7c9ab6cf009cd8da280c6db97c (diff)
downloadlibimobiledevice-39357c0eb4122eaf58382e921496984e6d0a7d5d.tar.gz
libimobiledevice-39357c0eb4122eaf58382e921496984e6d0a7d5d.tar.bz2
idevicesyslog: Use --syslog-relay in description and man page
Both --syslog-relay and --syslog_relay still work regardless, but it is more aligned with other long options.
-rw-r--r--docs/idevicesyslog.12
-rw-r--r--tools/idevicesyslog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/idevicesyslog.1 b/docs/idevicesyslog.1
index cb91193..5a677b6 100644
--- a/docs/idevicesyslog.1
+++ b/docs/idevicesyslog.1
@@ -39,7 +39,7 @@ If FILE already exists, it will be overwritten without warning.
.B \-\-colors
Force writing colored output, e.g. when using \f[B]\-\-output\f[].
.TP
-.B \-\-syslog_relay
+.B \-\-syslog\-relay
Use old syslog_relay service instead of os_trace_relay (iOS 9+).
.SH COMMANDS
diff --git a/tools/idevicesyslog.c b/tools/idevicesyslog.c
index 830b76a..dc404b0 100644
--- a/tools/idevicesyslog.c
+++ b/tools/idevicesyslog.c
@@ -880,7 +880,7 @@ static void print_usage(int argc, char **argv, int is_error)
" -o, --output FILE write to FILE instead of stdout\n"
" (existing FILE will be overwritten)\n"
" --colors force writing colored output, e.g. for --output\n"
- " --syslog_relay force use of syslog_relay service\n"
+ " --syslog-relay force use of syslog_relay service\n"
"\n"
"COMMANDS:\n"
" pidlist Print pid and name of all running processes.\n"