panic!("Running amethyst as root is disallowed as it can lead to system breakage. Instead, amethyst will prompt you when it needs superuser permissions.")
panic!("Running amethyst as root is disallowed as it can lead to system breakage. Instead, amethyst will prompt you when it needs superuser permissions")
}
}
letmatches=App::new("Amethyst")
letmatches=App::new("Amethyst")
@ -58,7 +58,7 @@ fn main() {
)
)
.subcommand(
.subcommand(
SubCommand::with_name("search")
SubCommand::with_name("search")
.about("Searches for the relevant packages in both the AUR and repos.")
.about("Searches for the relevant packages in both the AUR and repos")
.aliases(&["-Ss","sea"])
.aliases(&["-Ss","sea"])
.arg(
.arg(
Arg::with_name("aur")
Arg::with_name("aur")
@ -125,7 +125,7 @@ fn main() {
}
}
if!sorted.nf.is_empty(){
if!sorted.nf.is_empty(){
eprintln!(
eprintln!(
"Couldn't find packages: {} in repos or the AUR.",