Add examples to --help

This commit is contained in:
2023-01-26 21:47:46 -05:00
parent f4a87005a9
commit 0fe80c0a1c
2 changed files with 8 additions and 2 deletions

View File

@@ -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

View File

@@ -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
}