Skip to content

Commit

Permalink
Update scripts/translation/libqa/ArgvParser.php
Browse files Browse the repository at this point in the history
Co-authored-by: Kamil Tekiela <[email protected]>
  • Loading branch information
alfsb and kamil-tekiela authored Feb 11, 2025
1 parent e67b660 commit 6d780b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/translation/libqa/ArgvParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public function consume( string $equals = null , string $prefix = null , int $po

public function complete() : void
{
for ( $pos = 0 ; $pos < count( $this->argv ) ; $pos++ )
foreach ( $this->argv as $pos => $arg )
if ( $this->used[ $pos ] == false )
fwrite( STDERR , "Unknown argument: {$this->argv[$pos]}\n\n" );
fwrite( STDERR , "Unknown argument: {$arg}\n\n" );
}

public function residual() : array
Expand Down

0 comments on commit 6d780b4

Please sign in to comment.