From 435a11bd6e578be79db7e14c1676bec65bcec576 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 2 Aug 2016 19:47:37 -0700 Subject: [PATCH] Add short args to shell_path --- dotfiles/lib/python/shell_path.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/dotfiles/lib/python/shell_path.py b/dotfiles/lib/python/shell_path.py index 06a50af3..8997dece 100755 --- a/dotfiles/lib/python/shell_path.py +++ b/dotfiles/lib/python/shell_path.py @@ -64,12 +64,12 @@ if __name__ == '__main__': help='paths to add', ) parser.add_argument( - '--path-var', + '--path-var', '-v', help='the path var to add to.', default='PATH', ) parser.add_argument( - '--separator', + '--separator', '-s', help='the separator of the path variable', default=':', ) @@ -79,35 +79,35 @@ if __name__ == '__main__': default=None, ) parser.add_argument( - '--after', + '--after', '-a', help=('whether to do the action after the target (if target is specified)' 'or the entire path variable'), action='store_true', default=True, ) parser.add_argument( - '--before', + '--before', '-b', help='inverse of after', dest='after', action='store_false', ) parser.add_argument( - '--target', + '--target', '-t', help='the target path', default=None ) parser.add_argument( - '--include-assignment', + '--include-assignment', '-x', action='store_true', help='include the assignment command in output', ) parser.add_argument( - '--print-separator', + '--print-separator', '-p', help='separator to use for output', default=None, ) parser.add_argument( - '--path-lines', + '--path-lines', '-l', help='use newlines to separate path output', action='store_true', default=False,