mirror of
https://github.com/mrfluffy-dev/kami.git
synced 2026-01-17 12:50:32 +00:00
fixd anime arg error where anime was looking at 1 for the name
This commit is contained in:
@@ -38,7 +38,7 @@ fn main() {
|
||||
else if _arg == "a" {
|
||||
let mut query = String::new();
|
||||
if std::env::args().len() > 2 {
|
||||
query = std::env::args().nth(1).unwrap();
|
||||
query = std::env::args().nth(2).unwrap();
|
||||
} else {
|
||||
print!("\x1B[2J\x1B[1;1H");
|
||||
println!("Enter query: ");
|
||||
|
||||
Reference in New Issue
Block a user