Add shortcodes for remove etc in the usage/help

This commit is contained in:
Krsna Mahapatra 2020-04-19 20:03:43 -10:00 committed by GitHub
parent 7c979c7c12
commit 8dbaf9f149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 25 deletions

50
vpm
View File

@ -183,53 +183,53 @@ usage () {
echo -n "$colorheader"
echo "SUBCOMMANDS: "
echo -n "$colorgray"
echo "sync - Synchronize remote repository data"
echo "sync (sy) - Synchronize remote repository data"
t "xbps-install -S"
echo "update (up) - Update the system"
echo "update (up) - Update the system"
t "xbps-install -Sduv"
echo "listrepos (lr) - List configured repositories"
echo "repolist (rl) - Alias for listrepos"
echo "listrepos (lr) - List configured repositories"
echo "repolist (rl) - Alias for listrepos"
t "xbps-query -v -L"
echo "addrepo (ar) <ARGS> - Add an additional repository"
echo "addrepo (ar) <ARGS> - Add an additional repository"
t "xbps-install <ARGS>"
echo "info <pkg> - Show information about <package>"
echo "info (in) <pkg> - Show information about <package>"
t "xbps-query-v -R"
echo "filelist (fl) <pkg> - Show file-list of <package>"
echo "filelist (fl) <pkg> - Show file-list of <package>"
t "xbps-query -v -R -f"
echo "deps <pkg> - Show dependencies for <package>"
echo "deps <pkg> - Show dependencies for <package>"
t "xbps-query -v -R -x"
echo "reverse (rv) <pkg> - Show reverse dependendies of <package> (see man xbps-query)"
echo "reverse (rv) <pkg> - Show reverse dependendies of <package> (see man xbps-query)"
t "xbps-query -v -R -X"
echo "search (s) <name> - Search for package by <name>"
echo "search (s) <name> - Search for package by <name>"
t "xbps-query -v -Rs"
echo "searchfile (sf) <file> - Search for package containing <file> (local)"
echo "searchfile (sf) <file> - Search for package containing <file> (local)"
t "xbps-query -v -o \"*/$1\""
echo "list (ls) - List installed packages"
echo "list (ls) - List installed packages"
t "xbps-query -v -l"
echo "install (i) <pkg(s)> - Install <package(s)>"
echo "install (i) <pkg(s)> - Install <package(s)>"
t "xbps-install -S"
echo "devinstall (di) <pkg(s)> - Install <package> (and corresponding <package>-devel package(s))"
echo "devinstall (di) <pkg(s)> - Install <package> (and corresponding <package>-devel package(s))"
t "xbps-install -S <package> <package>-devel"
echo "listalternatives (la) - List alternative candidates"
echo "listalternatives (la) - List alternative candidates"
t "xbps-alternatives -l"
echo "setalternative (sa) <pkg(s) - Set alternative for <package>"
echo "setalternative (sa) <pkg(s) - Set alternative for <package>"
t "xbps-alternatives -s"
echo "reconfigure (rc) <pkg> - Re-configure installed <package>"
echo "reconfigure (rc) <pkg> - Re-configure installed <package>"
t "xbps-reconfigure -v"
echo "forceinstall (fi) <pkg(s)> - Force installation of <package(s)>"
echo "forceinstall (fi) <pkg(s)> - Force installation of <package(s)>"
t "xbps-install -f"
echo "remove <package(s)) - Remove <package(s)> from the system"
echo "remove (rm) <package(s)) - Remove <package(s)> from the system"
t "xbps-remove -v "
echo "removerecursive <pkg(s)> - Recursively remove package(s) (and its dependencies)"
echo "removerecursive (rr) <pkg(s)> - Recursively remove package(s) (and its dependencies)"
t "xbps-remove -v -R"
echo "cleanup (cl) - Clean up cache directory"
echo "cleanup (cl) - Clean up cache directory"
t "xbps-remove -v -O"
echo "autoremove (ar) - Remove orphaned packages"
echo "autoremove (ar) - Remove orphaned packages"
t "xbps-remove -v -O"
echo "whatprovides (wp) <file> - Search for package containing <file>"
echo "whatprovides (wp) <file> - Search for package containing <file>"
t "xlocate <pkg>"
echo "help - Show usage information"
echo "helppager (hp) - Show usage information (will pipe output to less/more)"
echo "help - Show usage information"
echo "helppager (hp) - Show usage information (will pipe output to less/more)"
echo
echo -n "$colorheader"
echo "XBPS COMPATIBILITY COOLNESS:"