Add examples to --help
This commit is contained in:
@@ -19,7 +19,7 @@ Sanely build and deploy OpenWRT images using the Image Builder (or git source)
|
|||||||
--ssh-upgrade HOST
|
--ssh-upgrade HOST
|
||||||
Example: root@192.168.1.1
|
Example: root@192.168.1.1
|
||||||
--ssh-backup SSH_PATH
|
--ssh-backup SSH_PATH
|
||||||
(Enabled by default for --ssh-upgrade)
|
Enabled by default for --ssh-upgrade
|
||||||
--flash,-f DEVICE
|
--flash,-f DEVICE
|
||||||
Example: /dev/sdX
|
Example: /dev/sdX
|
||||||
--reset
|
--reset
|
||||||
|
|||||||
@@ -28,13 +28,19 @@ printHelp() {
|
|||||||
--ssh-upgrade HOST
|
--ssh-upgrade HOST
|
||||||
Example: root@192.168.1.1
|
Example: root@192.168.1.1
|
||||||
--ssh-backup SSH_PATH
|
--ssh-backup SSH_PATH
|
||||||
(Enabled by default for --ssh-upgrade)
|
Enabled by default for --ssh-upgrade
|
||||||
--flash,-f DEVICE
|
--flash,-f DEVICE
|
||||||
Example: /dev/sdX
|
Example: /dev/sdX
|
||||||
--reset
|
--reset
|
||||||
Cleanup all source and output files
|
Cleanup all source and output files
|
||||||
--debug,-d
|
--debug,-d
|
||||||
--help,-h
|
--help,-h
|
||||||
|
|
||||||
|
EXAMPLES
|
||||||
|
./openwrtbuilder -p r4s -r snapshot --debug
|
||||||
|
./openwrtbuilder -p ax6000_stock -r 23.03.3 --source --debug
|
||||||
|
./openwrtbuilder -p rpi4 -r 23.03.3 --flash /dev/sdX
|
||||||
|
./openwrtbuilder -p linksys -r snapshot --ssh-upgrade root@192.168.1.1
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user