From 0fbc27dbe296e03b4001586a7e29780328cbc657 Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Sun, 11 Aug 2013 15:48:07 +0200 Subject: Change `-e` to `-x` Since the `-e` flag was for exclude patterns, and since it's rare for a word with an `x` to come along, change the `-e` flag to `-x`. Better to do it now before a new release. --- bin/lsrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/lsrc') diff --git a/bin/lsrc b/bin/lsrc index 9ed2a71..880bf05 100755 --- a/bin/lsrc +++ b/bin/lsrc @@ -151,15 +151,15 @@ handle_command_line() { local excludes= local includes= - while getopts VqvI:e:t:d: opt; do + while getopts VqvI:x:t:d: opt; do case "$opt" in - e) excludes="$excludes $OPTARG";; I) includes="$includes $OPTARG";; t) arg_tags="$arg_tags $OPTARG";; v) verbosity=$(($verbosity + 1));; q) verbosity=$(($verbosity - 1));; d) dotfiles_dirs="$dotfiles_dirs $OPTARG";; - V) version=1 + V) version=1;; + x) excludes="$excludes $OPTARG";; esac done shift $(($OPTIND-1)) -- cgit v1.2.3