update help message

This commit is contained in:
♥ Minnie ♥ 2025-06-09 11:10:57 +08:00
parent 5fc7e98f23
commit 43156a7e8b
Signed by: jasmine
GPG key ID: 8563E358D4E8040E

View file

@ -6,7 +6,20 @@ pub fn cd(args: &[String]) {
}
pub fn help() {
println!("This is an example help message")
println!("RuSH v0.1.0");
println!("---------------------");
println!("Available Commands:");
println!(" cd - Change directory");
println!(" help - Display this help message");
println!(" exit - Exit the shell");
println!(" <command> - Execute a command (e.g., ls, echo, etc.)");
println!();
println!("Customization Options:");
println!(" aliases - Define custom aliases for commands");
println!();
println!("Note: This is a basic implementation. More features and options will be added in future versions.");
}
pub fn exit() {