Skip to content

Commit

Permalink
[update] : Added help.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hayao0819 committed Mar 7, 2020
1 parent 238724a commit 5466465
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion aptpac
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,24 @@ fi
installed=false

_usage () {
:
echo "usage ${0} [options] [command] [packages]"
echo " commands: "
echo " install Install the specified package."
echo " remove Remove the specified package."
echo " purge Permanently remove the package."
echo " update Update the package database."
echo " upgrade Update the package."
echo " search Search for a package."
echo " autoremove Remove unnecessary packages."
echo " list Displays a list of packages."
echo
echo " general options: "
echo " -y | --yes | --assume-yes Do not check."
echo " -d | --download-only Only download the package."
echo " -c <file> Config file for pacman."
echo " -h | --help Display this help."
echo " -v Displays the version of pacman."
echo " --purge Delete the entire configuration file."
}

_exit () {
Expand Down

0 comments on commit 5466465

Please sign in to comment.