Added help info for scan function
added decription for -s|--scan argument usage
This commit is contained in:
@@ -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.
|
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 **
|
-a | --address IP address of roku device ** REQUIRED **
|
||||||
-c | --command Send remote commands to device
|
-c | --command Send remote commands to device
|
||||||
-l | --launch Launch Channel/Application on device
|
-l | --launch Launch Channel/Application on device
|
||||||
@@ -50,6 +50,10 @@ Args for [-l|--launch] flag
|
|||||||
hdmi4 Launch HDMI4
|
hdmi4 Launch HDMI4
|
||||||
av1 Launch AV1
|
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
|
### Usage Examples
|
||||||
|
|
||||||
|
|||||||
6
rokuc
6
rokuc
@@ -31,7 +31,7 @@ function helpme()
|
|||||||
{
|
{
|
||||||
echo -e "rokuc ver. ${vernum}"
|
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 "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 **
|
echo -e ''' -a | --address\tIP address of roku device ** REQUIRED **
|
||||||
-c | --command\tSend remote commands to device.
|
-c | --command\tSend remote commands to device.
|
||||||
-l | --launch \tLaunch Channel/Application on device
|
-l | --launch \tLaunch Channel/Application on device
|
||||||
@@ -70,6 +70,10 @@ Args for [-l|--launch] flag
|
|||||||
hdmi3 \t Launch HDMI3
|
hdmi3 \t Launch HDMI3
|
||||||
hdmi4 \t Launch HDMI4
|
hdmi4 \t Launch HDMI4
|
||||||
av1 \t Launch AV1
|
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 "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"
|
echo -e "Pause Roku \n\t${script} -a 192.168.11.142 -c pause\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user