aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-18 01:19:42 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-18 01:19:42 +0100
commit0ddd4548a4df5bac6a61e9c4adff67eeb186a447 (patch)
treea546d7c5a52fb29c50352b96dbaba4b3a77cacbe /src
parent32f172d6a6d19e8aad4e5d63fe76698d24a166c1 (diff)
Wrap -f/--filenames in ‘#if GIT_GRAB’
Diffstat (limited to 'src')
-rw-r--r--src/grab.c2
1 files changed, 2 insertions, 0 deletions
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'},