1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Dry run defaults to --auto if only option. Closes #164.

This commit is contained in:
William Ting 2012-11-23 07:46:17 -06:00
parent d0e0a990ce
commit 2de05fde9c

View File

@ -84,6 +84,9 @@ while true; do
-n|--dry_run)
dry_run=true
shift
if [[ ${#} == 0 ]]; then
set -- "--auto"
fi
;;
-p|--prefix)
if [ $# -gt 1 ]; then