$this->setNsfilter( explode( '|', $this->getOption( 'namespaces' ) ) );
}
- if ( $this->hasArg() ) {
- $this->importFromFile( $this->getArg() );
+ if ( $this->hasArg( 0 ) ) {
+ $this->importFromFile( $this->getArg( 0 ) );
} else {
$this->importFromStdin();
}