mirror of
https://github.com/iridakos/goto.git
synced 2025-05-16 23:40:16 -07:00
Improve usage format.
This commit is contained in:
parent
af4719fbb6
commit
c59518d838
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user