Thread (48 messages) 48 messages, 3 authors, 2016-06-16
STALE3755d

[PATCH v6 43/44] builtin/apply: add a cli option for be_silent

From: Christian Couder <hidden>
Date: 2016-06-16 02:19:51
Subsystem: the rest · Maintainer: Linus Torvalds

Let's make it possible to request a silent operation on the
command line.

Signed-off-by: Christian Couder <redacted>
---
 builtin/apply.c | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/builtin/apply.c b/builtin/apply.c
index ddd61de..93744f8 100644
--- a/builtin/apply.c
+++ b/builtin/apply.c
@@ -74,6 +74,8 @@ int cmd_apply(int argc, const char **argv, const char *prefix)
 		OPT_BOOL(0, "allow-overlap", &state.allow_overlap,
 			N_("allow overlapping hunks")),
 		OPT__VERBOSE(&state.apply_verbosely, N_("be verbose")),
+		OPT_BOOL(0, "silent", &state.be_silent,
+			N_("do not print any output")),
 		OPT_BIT(0, "inaccurate-eof", &options,
 			N_("tolerate incorrectly detected missing new-line at the end of file"),
 			APPLY_OPT_INACCURATE_EOF),
-- 
2.9.0.rc2.362.g3cd93d0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help