comments cleanup
This commit is contained in:
parent
b63cee81b5
commit
8bcb58b557
@ -103,13 +103,12 @@ fn main() -> std::io::Result<()> {
|
|||||||
|
|
||||||
let mut err: String = "".to_string();
|
let mut err: String = "".to_string();
|
||||||
|
|
||||||
//Shell symbol
|
|
||||||
let args: Vec<String> = args().collect();
|
let args: Vec<String> = args().collect();
|
||||||
let shell: String;
|
let shell: String;
|
||||||
if args.len() > 1 {
|
if args.len() > 1 {
|
||||||
shell = args[1].clone();
|
shell = args[1].clone(); // Shell symbol
|
||||||
if args.len() > 2 {
|
if args.len() > 2 {
|
||||||
err = args[2].clone();
|
err = args[2].clone(); // Error status
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user