diff options
author | Mike Burns <mike@mike-burns.com> | 2013-08-11 15:48:07 +0200 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2013-08-11 15:48:07 +0200 |
commit | 0fbc27dbe296e03b4001586a7e29780328cbc657 (patch) | |
tree | df0e2c654f4235939fdc37def18f6baf92e43081 /bin/lsrc | |
parent | 63ab42206f25e181f626ec0c7ddad045fa27846c (diff) |
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.
Diffstat (limited to 'bin/lsrc')
-rwxr-xr-x | bin/lsrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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)) |