Improve usage format.

This commit is contained in:
Lazarus Lazaridis 2018-03-05 15:27:57 +02:00
parent af4719fbb6
commit c59518d838

View File

@ -61,8 +61,10 @@ function _goto_usage()
{
cat <<\USAGE
usage: goto [<option>] <alias> [<directory>]
default usage:
goto <alias> - changes to the directory registered for the given alias
OPTIONS:
-r, --register: registers an alias
goto -r|--register <alias> <directory>