From 531a8733822de3e5d9bbf170bb4608b4d4eb29f0 Mon Sep 17 00:00:00 2001 From: Jared Hess Date: Wed, 30 Dec 2015 03:15:34 -0800 Subject: [PATCH 1/2] Change help text to indicate support for adding multiple paths --- bin/autojump | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/autojump b/bin/autojump index bb33c45..9deaf31 100755 --- a/bin/autojump +++ b/bin/autojump @@ -102,7 +102,7 @@ def parse_arguments(): help='directory to jump to') parser.add_argument( '-a', '--add', metavar='DIRECTORY', nargs='+', - help='add path') + help='add paths') parser.add_argument( '-i', '--increase', metavar='WEIGHT', nargs='?', type=int, const=10, default=False, From 825a21bc6ecba7aa226465a7bcca1319414a3b8f Mon Sep 17 00:00:00 2001 From: Jared Hess Date: Wed, 30 Dec 2015 03:25:57 -0800 Subject: [PATCH 2/2] Remove debug print --- bin/autojump | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/autojump b/bin/autojump index 9deaf31..b600543 100755 --- a/bin/autojump +++ b/bin/autojump @@ -364,7 +364,6 @@ def main(args): # noqa # all arguments are mutually exclusive if args.add: - print(type(args.add)) for arg in args.add: save(config, first(add_path(load(config), arg))) elif args.complete: