mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 04:53:40 +00:00
12 lines
293 B
Rust
12 lines
293 B
Rust
use rust_i18n::t;
|
|
|
|
pub fn renamed(old: &str, new: &str) -> ! {
|
|
eprintln!("{}", t!("bins.deprecated.renamed", old = old, new = new));
|
|
std::process::exit(1)
|
|
}
|
|
|
|
pub fn removed(name: &str) -> ! {
|
|
eprintln!("{}", t!("bins.deprecated.removed", name = name));
|
|
std::process::exit(1)
|
|
}
|