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
|
||||
Example: root@192.168.1.1
|
||||
--ssh-backup SSH_PATH
|
||||
(Enabled by default for --ssh-upgrade)
|
||||
Enabled by default for --ssh-upgrade
|
||||
--flash,-f DEVICE
|
||||
Example: /dev/sdX
|
||||
--reset
|
||||
|
||||
@@ -28,13 +28,19 @@ printHelp() {
|
||||
--ssh-upgrade HOST
|
||||
Example: root@192.168.1.1
|
||||
--ssh-backup SSH_PATH
|
||||
(Enabled by default for --ssh-upgrade)
|
||||
Enabled by default for --ssh-upgrade
|
||||
--flash,-f DEVICE
|
||||
Example: /dev/sdX
|
||||
--reset
|
||||
Cleanup all source and output files
|
||||
--debug,-d
|
||||
--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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user