mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-14 15:23:52 +01:00
fix: argument index
This commit is contained in:
parent
7aa1aeafff
commit
ff3ceea00e
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ pub fn handle_args() {
|
||||||
}
|
}
|
||||||
let mut auto_aliasing = String::new();
|
let mut auto_aliasing = String::new();
|
||||||
let mut shell = String::new();
|
let mut shell = String::new();
|
||||||
let mut index = 0;
|
let mut index = 1;
|
||||||
while index < args.len() {
|
while index < args.len() {
|
||||||
match args[index].as_str() {
|
match args[index].as_str() {
|
||||||
"-h" | "--help" => {
|
"-h" | "--help" => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue