Skip to content

Commit 0caa648

Browse files
authored
v0.4.1 Readme
1 parent a4aac6a commit 0caa648

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ It is probably the opposite for releases (recommended to upgrade), since you wil
3232

3333
### Help example:
3434
```
35-
# opkg-upgrade -h
35+
root@OpenWrt:~# opkg-upgrade --help
3636
37-
Simple OPKG Updater v0.4.0
37+
Simple OPKG Updater v0.4.1
3838
3939
Usage: opkg-upgrade [options]
4040
@@ -48,6 +48,8 @@ Options:
4848
-l, --list-upgrades Prints the list of available updates and exits
4949
-e, --email-list Prints the list of updates in html email format
5050
Includes subject, mime type and html formated data
51+
-s, --ssmtp <email> Use the system's ssmtp to send update reports
52+
You need to install and configure ssmtp beforehand
5153
-m, --msmtp <email> Use the system's msmtp to send update reports
5254
You need to install and configure msmtp beforehand
5355
-a, --always-send Send e-mail even if there are no updates
@@ -61,16 +63,16 @@ Options:
6163
6264
Notes:
6365
- Short options should not be grouped. You must pass each parameter on its own.
64-
- You must have a working msmtp install to use the msmtp functionality. Make
65-
sure you can send e-mails from it before trying from opkg-upgrade.
66+
- You must have a working ssmtp or msmtp install to use the email functionality.
67+
Make sure you can send e-mails from it before trying from opkg-upgrade.
6668
6769
Examples:
6870
opkg-upgrade -n -f # run without updating listings and asking for upgrade
6971
opkg-upgrade --install # install to /usr/sbin/opkg-upgrade
7072
opkg-upgrade -l # just print upgrades available
7173
opkg-upgrade -e # just print html formatted email
7274
opkg-upgrade -s '[email protected]' # mail upgrade report if have updates
73-
opkg-upgrade -a -s '[email protected]' # mail upgrade report even if NO updates
75+
opkg-upgrade -a -m '[email protected]' # mail upgrade report even if NO updates
7476
opkg-upgrade -u && echo 'upgrades are available' || echo 'no upgrades available'
7577
7678
```

0 commit comments

Comments
 (0)