docs: update

This commit is contained in:
Dylan Araps 2019-09-19 20:13:44 +03:00
parent 48b4fd7c80
commit 3590d9b03a
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ Alternative to the `basename` command.
```sh
basename() {
# Usage: basename "path"
# Usage: basename "path" ["suffix"]
dir=${1%${1##*[!/]}}
dir=${dir##*/}
dir=${dir%"$2"}