summaryrefslogtreecommitdiff
path: root/bootstrap.conf
diff options
context:
space:
mode:
authorGiuseppe Scrivano <gscrivano@gnu.org>2015-10-19 10:29:41 +0200
committerJim Meyering <meyering@fb.com>2015-11-29 08:20:53 -0800
commit04f6d57177fb6c9e7bbcf716c521bc323936a9a5 (patch)
treec7251586f79fa8092476452f6b751befbb7e5496 /bootstrap.conf
parentc0fa19fe92da71404f809aafb5f51cfd99b1bee2 (diff)
downloaddiffutils-04f6d57177fb6c9e7bbcf716c521bc323936a9a5.tar.gz
diff: add --palette
* bootstrap (gnulib_modules): Add 'argmatch'. * doc/diffutils.texi: Add documentation for --palette * src/diff.h (set_color_palette): New prototype. * src/diff.c (set_color_palette): New function. (color_palette): New variable. * src/utils.c: Include "argmatch.h". (struct bin_str): New struct. (struct color_ext_type): New struct. (color_indicator): New array. (indicator_name): New array. (indicator_no): New enum. (parse_state): New enum. (put_indicator): New function. (get_funky_string): New function. Copied from coreutils ls. (parse_diff_color): New function. Copied from coreutils ls "parse_ls_color" function. (set_color_context): Use put_indicator instead of directly outputting the sequence. * po/POTFILES.in: Add 'lib/argmatch.c'
Diffstat (limited to 'bootstrap.conf')
-rw-r--r--bootstrap.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf
index 9b2de22..3ab2c8b 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -19,6 +19,7 @@
# gnulib modules used by this package.
gnulib_modules='
announce-gen
+argmatch
binary-io
c-stack
config-h