Skip to content

Commit

Permalink
client: Add bluetoothctl-admin.1 man page
Browse files Browse the repository at this point in the history
This adds bluetoothctl-admin.rst which is then converted to
bluetoothctl-admin.1 using rst2man.
  • Loading branch information
potto216 authored and Vudentz committed Nov 13, 2023
1 parent 7ef4061 commit 0d65d68
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile.tools
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ profiles_iap_iapd_LDADD = gdbus/libgdbus-internal.la $(GLIB_LIBS) $(DBUS_LIBS)
if MANPAGES
man_MANS += tools/rctest.1 tools/l2ping.1 tools/btattach.1 tools/isotest.1 \
tools/btmgmt.1 client/bluetoothctl-mgmt.1 \
client/bluetoothctl-monitor.1
client/bluetoothctl-monitor.1 client/bluetoothctl-admin.1
endif

if MESH
Expand Down Expand Up @@ -472,7 +472,8 @@ manual_pages += tools/hciattach.1 tools/hciconfig.1 \
tools/rctest.1 tools/l2ping.1 tools/btattach.1 \
tools/bdaddr.1 tools/isotest.1 tools/btmgmt.1 \
client/bluetoothctl-mgmt.1 \
client/bluetoothctl-monitor.1
client/bluetoothctl-monitor.1 \
client/bluetoothctl-admin.1

if HID2HCI
udevdir = $(UDEV_DIR)
Expand Down
41 changes: 41 additions & 0 deletions client/bluetoothctl-admin.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
==================
bluetoothctl-admin
==================

--------------------
Admin Policy Submenu
--------------------

:Version: BlueZ
:Copyright: Free use of this software is granted under ther terms of the GNU
Lesser General Public Licenses (LGPL).
:Date: November 2022
:Manual section: 1
:Manual group: Linux System Administration

SYNOPSIS
========

**bluetoothctl** [--options] [admin.commands]

Admin Policy Commands
=====================

allow
-----

Allow service UUIDs and block rest of them.

:Usage: **# allow [clear/uuid1 uuid2 ...]**
:Example: **# allow 0x1101 0x1102 0x1103**
:Example: **# allow clear**

RESOURCES
=========

http://www.bluez.org

REPORTING BUGS
==============

linux-bluetooth@vger.kernel.org

0 comments on commit 0d65d68

Please sign in to comment.