mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix net ping description and help info
This commit is contained in:
parent
de2a3db242
commit
81edf6a9c0
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
|
|||
|
||||
use core::fmt::Write;
|
||||
let mut ret = String::<1024>::new();
|
||||
let helpstring = "net [udp [port]] [udpclose] [udpclone] [udpcloneclose]";
|
||||
let helpstring = "net [udp [port]] [udpclose] [udpclone] [udpcloneclose] [ping [host] [count]]";
|
||||
|
||||
let mut tokens = args.as_str().unwrap().split(' ');
|
||||
|
||||
|
|
@ -155,7 +155,7 @@ impl<'a> ShellCmdApi<'a> for NetCmd {
|
|||
}
|
||||
}
|
||||
} else {
|
||||
write!(ret, "Missing url: net ping [url]").unwrap();
|
||||
write!(ret, "Missing host: net ping [host] [count]").unwrap();
|
||||
}
|
||||
}
|
||||
_ => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue