mirror of
https://github.com/sajenim/rush.git
synced 2025-06-28 01:44:21 +08:00
update help message
This commit is contained in:
parent
5fc7e98f23
commit
43156a7e8b
1 changed files with 14 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue