Skip to content

Commit 1e92409

Browse files
fix @error..
1 parent c3401f0 commit 1e92409

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

command/src/commands/arg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ pub fn execute_command(command: &str, option: &str, arg: &Vec<String>, session_c
136136
true=>update_lastest(),
137137
false=>update_new(&arg[0])
138138
}
139-
_=>Ok(not_found())
139+
_=>Ok((0,"help:\n -i|-install: install package \n -u|-update: update this version".to_string()))
140140
},
141141
//
142142
"whoami" => whoami(session_context),
@@ -150,7 +150,7 @@ pub fn execute_command(command: &str, option: &str, arg: &Vec<String>, session_c
150150
let password = decryption(pd);
151151
(0,password)
152152
}),
153-
_=>Ok(not_found()),
153+
_=>Ok((0,"help:\n -f|-fix: fix your password \n -c|-check: show your password".to_string())),
154154
},
155155
"ll" => {
156156
let va = ll(&session_context).unwrap();

command/src/commands/command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub fn help() -> String{
3333
python Run code in python tar -zxvf: Compression
3434
html Open html file tar -xvf: Decompression
3535
pd Check your password sudo Root
36-
exit Exit this process\0\x1B[0m\n"
36+
version Get your tiks version exit Exit this process\0\x1B[0m\n"
3737
);
3838

3939
help

0 commit comments

Comments
 (0)