diff options
Diffstat (limited to 'etc/compl.sh')
-rw-r--r-- | etc/compl.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/compl.sh b/etc/compl.sh index 9675c35..b11687b 100644 --- a/etc/compl.sh +++ b/etc/compl.sh @@ -1,27 +1,27 @@ #! /bin/bash # Bash completion setup for Eclat commands. -# Copyright (C) 2012, 2013 Sergey Poznyakoff +# Copyright (C) 2012-2014 Sergey Poznyakoff # # Eclat is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # Eclat is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Eclat. If not, see <http://www.gnu.org/licenses/>. comp_eclat() { # Obtain a list of command line options. Each option occupies # a single line and is followed by an equals sign if it takes # an argument. local optlist=$(eclat --usage|sed '1s/^[^[]*//' | tr -d '\n' | tr -s ' ' | sed 's/\] \[/:/g;' | tr -d '[]' | awk -F: ' |