Added help()

This commit is contained in:
Beefki
2017-10-14 09:20:47 -05:00
parent 9d9707d5d7
commit d87d36af3f
3 changed files with 30 additions and 19 deletions

View File

@ -74,3 +74,18 @@ fn main() {
std::process::exit(0);
}
}
fn help() {
println!(
"COMMANDS:
-S Installs a new package
-Ss Searches for a package
-Sy Updates local cache from repo
-Su Upgrades with just your local cache
-Syu Upgrades the local cache and then updates the system
-R Removes a package from the system
-Rdns Purges a package from the system
-Sc Clears your local cache
-Scc Purges your local cache"
);
}