blob: e90c317f644f9f4470a9739d4ced18cdd32eab7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#compdef comm
local -a args
args=(
'-1[suppress lines unique to FILE1]'
'-2[suppress lines unique to FILE2]'
'-3[suppress lines that appear in both files]'
'1:file1 to compare:_files'
'2:file2 to compare:_files'
)
if _pick_variant gnu=GNU unix --version; then
args+=(
'(- : *)--version[display version information]'
'(- : *)--help[display help information]'
)
fi
_arguments -s $args
|