Added help info for scan function

added decription for -s|--scan argument usage
This commit is contained in:
Bradley Richins
2020-05-18 14:51:52 -06:00
parent 746e896b3e
commit 74946d1258
2 changed files with 10 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ This bash script leverages cURL and roku's External Control Protocol ([ECP](http
```
Send simple remote commands to Roku devices using curl to interact with Rokus ECP (External Control Protocal) server on port 8060.
Usage: rokuc [[-a [ADDRESS]] [-s]] [[-h] [-v] [-c [ARGS]] [-l [ARGS]]]
Usage: rokuc [[-a [ADDRESS]] [-s [IP SUBNET]]] [[-h] [-v] [-c [ARGS]] [-l [ARGS]]]
-a | --address IP address of roku device ** REQUIRED **
-c | --command Send remote commands to device
-l | --launch Launch Channel/Application on device
@@ -50,6 +50,10 @@ Args for [-l|--launch] flag
hdmi4 Launch HDMI4
av1 Launch AV1
Argument for [-s|--scan [IP SUBNET]] flag
Input your LAN subnet
i.e. 192.168.11.0, 10.0.0.0, 192.168.0.0, etc...
```
### Usage Examples

6
rokuc
View File

@@ -31,7 +31,7 @@ function helpme()
{
echo -e "rokuc ver. ${vernum}"
echo "Send simple remote commands to Roku devices using curl to interact with Rokus ECP (External Control Protocal) server on port 8060."
echo "Usage: ${script} [[-a [ADDRESS]] [-s]] [[-h] [-v] [-c [ARGS]] [-l [ARGS]]]"
echo "Usage: ${script} [[-a [ADDRESS]] [-s [IP SUBNET]]] [[-h] [-v] [-c [ARGS]] [-l [ARGS]]]"
echo -e ''' -a | --address\tIP address of roku device ** REQUIRED **
-c | --command\tSend remote commands to device.
-l | --launch \tLaunch Channel/Application on device
@@ -70,6 +70,10 @@ Args for [-l|--launch] flag
hdmi3 \t Launch HDMI3
hdmi4 \t Launch HDMI4
av1 \t Launch AV1
Argument for [-s|--scan [IP SUBNET]] flag
Input your LAN subnet
i.e. 192.168.11.0, 10.0.0.0, 192.168.0.0, etc...
'''
echo -e "Examples:\nLaunch Netflix\n\t${script} -a 192.168.11.142 -l netflix\n"
echo -e "Pause Roku \n\t${script} -a 192.168.11.142 -c pause\n"