Skip to content

Commit 9af5924

Browse files
committed
pushpkg: update readme
1 parent d7fdfc0 commit 9af5924

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

pushpkg/README.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,21 @@ You should run this script inside a directory which contains a `debs` directory.
88
```
99
Usage:
1010
11-
pushpkg LDAP_USERNAME BRANCH [COMPONENT]
11+
pushpkg -u LDAP_USERNAME -b BRANCH -c [COMPONENT]
1212
13-
- LDAP_USERNAME: Your LDAP username.
14-
- BRANCH: AOSC OS update branch (stable, stable-proposed, testing, etc.)
15-
- [COMPONENT]: (Optional) Repository component (main, bsp-sunxi, etc.)
16-
Falls back to "main" if not specified.
13+
-u LDAP_USERNAME: Your LDAP username.
14+
-b BRANCH: AOSC OS update branch (stable, stable-proposed, testing, etc.)
15+
16+
Options:
1717
18+
-c [COMPONENT]: (Optional) Repository component (main, bsp-sunxi, etc.)
19+
Falls back to "main" if not specified.
20+
-d: pushpkg after clean OUTPUT directory
21+
-v: ssh and rsync verbose
1822
```
1923

2024
One-liner usage:
2125

2226
```shell
23-
curl -sSL https://github.com/AOSC-Dev/scriptlets/raw/master/pushpkg/pushpkg | bash /dev/stdin LDAP_USERNAME BRANCH [COMPONENT]
27+
curl -sSL https://github.com/AOSC-Dev/scriptlets/raw/master/pushpkg/pushpkg | bash /dev/stdin -u LDAP_USERNAME -b BRANCH -c [COMPONENT]
2428
```

0 commit comments

Comments
 (0)