Skip to content

Commit

Permalink
Some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Erdal Demirci committed Sep 19, 2019
1 parent cf5665e commit 5b43f68
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/vendor
/.idea
vendor
.idea
composer.phar
composer.lock
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ if (Cleaner::dir('path_to_logs')->clear()) {
#### Working with Artisan CLI
Laravel GeoIP Log Cleaner have command can use easily with Artisan CLI. Example:
```shell
$ php artisan log:clear --path=/path/to/log/files --rotate=14
$ php artisan geoiplog:clear --path=/path/to/log/files --rotate=14
```

Please use each above command with option --help for details of usage. Example:
```shell
$ php artisan log:clear --help
$ php artisan geoiplog:clear --help
```

## License
Expand Down
2 changes: 1 addition & 1 deletion src/Command/LogClearCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class LogClearCommand extends Command
*
* @var string
*/
protected $signature = 'log:clear
protected $signature = 'geoiplog:clear
{--P|path= : Path to log files}
{--R|rotate= : Log rotate}';

Expand Down

0 comments on commit 5b43f68

Please sign in to comment.