summaryrefslogtreecommitdiff
path: root/tools/btiotest.c
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2021-09-15 16:32:01 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-09-21 10:51:54 +0200
commit9509056e8dd86ff790a0ce3e16847fdfc17368c1 (patch)
tree218a0d2081b9b0a2c5e4ab99b9c855ae8ba33648 /tools/btiotest.c
parent43f547d7e55ceae1825909b6d50f89320e7d81e8 (diff)
downloadbluez-9509056e8dd86ff790a0ce3e16847fdfc17368c1.tar.gz
tools: Deprecate some input parameters to align with inclusive language
Some input parameter names are not appropriate and needs to be updated. However, doing so might cause friction with the current workflow and documents. This patch deprecates the inappropriate names and replaces them with the more appropriate substitutes, while still keeping the old terms usable to not break the workflow of users. Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/btiotest.c')
-rw-r--r--tools/btiotest.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/btiotest.c b/tools/btiotest.c
index 4bbe088bc..70d74ffbe 100644
--- a/tools/btiotest.c
+++ b/tools/btiotest.c
@@ -576,8 +576,10 @@ static GOptionEntry options[] = {
"Disconnect connection after N seconds" },
{ "accept", 'a', 0, G_OPTION_ARG_INT, &opt_accept,
"Accept connection after N seconds" },
+ { "central", 'C', 0, G_OPTION_ARG_NONE, &opt_central,
+ "Central role switch (incoming connections)" },
{ "master", 'm', 0, G_OPTION_ARG_NONE, &opt_central,
- "Master role switch (incoming connections)" },
+ "Deprecated. Use central instead." },
{ "priority", 'P', 0, G_OPTION_ARG_INT, &opt_priority,
"Transmission priority: Setting a priority "
"outside the range 0 to 6 requires the"