From 0ddd4548a4df5bac6a61e9c4adff67eeb186a447 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 18 Jan 2024 01:19:42 +0100 Subject: Wrap -f/--filenames in ‘#if GIT_GRAB’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/grab.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/grab.c b/src/grab.c index 5695226..6d43be6 100644 --- a/src/grab.c +++ b/src/grab.c @@ -120,7 +120,9 @@ main(int argc, char **argv) struct ops ops; struct option longopts[] = { {"color", no_argument, 0, 'c'}, +#if GIT_GRAB {"filenames", no_argument, 0, 'f'}, +#endif {"help", no_argument, 0, 'h'}, {"newline", no_argument, 0, 'n'}, {"zero", no_argument, 0, 'z'}, -- cgit v1.2.3