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 cat <<\USAGE
usage: goto [<option>] <alias> [<directory>] usage: goto [<option>] <alias> [<directory>]
default usage: default usage:
goto <alias> - changes to the directory registered for the given alias goto <alias> - changes to the directory registered for the given alias
OPTIONS: OPTIONS:
-r, --register: registers an alias -r, --register: registers an alias
goto -r|--register <alias> <directory> goto -r|--register <alias> <directory>