summaryrefslogtreecommitdiffstats
path: root/rfcomm
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-08-10 09:48:13 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-08-10 09:48:13 +0000
commit49ddeb81d3609370ccc66397efc81bb9f590e2ed (patch)
tree07336740861c01f68b31ab938e9b5f446cd45fde /rfcomm
parent801498fa36ef7b9702f3d5ef7baae92d14a3075f (diff)
List all available options
Diffstat (limited to 'rfcomm')
-rw-r--r--rfcomm/main.c8
-rw-r--r--rfcomm/rfcomm.16
2 files changed, 11 insertions, 3 deletions
diff --git a/rfcomm/main.c b/rfcomm/main.c
index 1d302a98..e7a381fc 100644
--- a/rfcomm/main.c
+++ b/rfcomm/main.c
@@ -567,9 +567,11 @@ static void usage(void)
"\n");
printf("Options:\n"
- "\t-i [hciX|bdaddr] Local HCI device or BD Address\n"
- "\t-h, --help Display help\n"
- "\t-a Show all devices (default)\n"
+ "\t-i [hciX|bdaddr] Local HCI device or BD Address\n"
+ "\t-h, --help Display help\n"
+ "\t-r, --raw Switch TTY into raw mode\n"
+ "\t-f, --config [file] Specify alternate config file\n"
+ "\t-a Show all devices (default)\n"
"\n");
printf("Commands:\n");
diff --git a/rfcomm/rfcomm.1 b/rfcomm/rfcomm.1
index 4085e5ec..d1e11cf9 100644
--- a/rfcomm/rfcomm.1
+++ b/rfcomm/rfcomm.1
@@ -45,6 +45,12 @@ Gives a list of possible commands.
.BI -a
Prints information about all configured RFCOMM devices.
.TP
+.BI -r
+Switch TTY into raw mode (doesn't work with "bind").
+.TP
+.BI -f " [file]"
+Specify alternate config file.
+.TP
.BI -i " <hciX> | <bdaddr>"
The command is applied to device
.I