GitHubのミラーです
https://github.com/FascodeNet/aptpac
Revisión | 546646575851553de1fb98a449bce417e87ad5a4 (tree) |
---|---|
Tiempo | 2020-03-07 12:18:23 |
Autor | hayao <shun819.mail@gmai...> |
Commiter | hayao |
[update] : Added help.
@@ -30,7 +30,24 @@ fi | ||
30 | 30 | installed=false |
31 | 31 | |
32 | 32 | _usage () { |
33 | - : | |
33 | + echo "usage ${0} [options] [command] [packages]" | |
34 | + echo " commands: " | |
35 | + echo " install Install the specified package." | |
36 | + echo " remove Remove the specified package." | |
37 | + echo " purge Permanently remove the package." | |
38 | + echo " update Update the package database." | |
39 | + echo " upgrade Update the package." | |
40 | + echo " search Search for a package." | |
41 | + echo " autoremove Remove unnecessary packages." | |
42 | + echo " list Displays a list of packages." | |
43 | + echo | |
44 | + echo " general options: " | |
45 | + echo " -y | --yes | --assume-yes Do not check." | |
46 | + echo " -d | --download-only Only download the package." | |
47 | + echo " -c <file> Config file for pacman." | |
48 | + echo " -h | --help Display this help." | |
49 | + echo " -v Displays the version of pacman." | |
50 | + echo " --purge Delete the entire configuration file." | |
34 | 51 | } |
35 | 52 | |
36 | 53 | _exit () { |