Added help()
This commit is contained in:
15
src/main.rs
15
src/main.rs
@ -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"
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user