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:
parent
d0e0a990ce
commit
2de05fde9c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user