From 2d53b021f724438eb6079f19d8de3212a1893100 Mon Sep 17 00:00:00 2001
From: Tetiana Moskalets <tetiana.moskalets@cern.ch>
Date: Tue, 9 Apr 2019 13:51:03 +0000
Subject: [PATCH] Update Herwig7.h

---
 Generators/Herwig7_i/Herwig7_i/Herwig7.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/Generators/Herwig7_i/Herwig7_i/Herwig7.h b/Generators/Herwig7_i/Herwig7_i/Herwig7.h
index 109b777214e..7d864fec61d 100644
--- a/Generators/Herwig7_i/Herwig7_i/Herwig7.h
+++ b/Generators/Herwig7_i/Herwig7_i/Herwig7.h
@@ -74,6 +74,11 @@ public:
   virtual unsigned int jobSize() const { return(m_jobsize); } /// The number of subprocesses to integrate per integratoin job
   virtual unsigned int maxJobs() const { return(m_maxjobs); } /// The maximum number of integration jobs
 
+  virtual void quitWithHelp() const {
+    ThePEG::Repository::cleanup();
+    exit( EXIT_FAILURE );
+  }
+
   /// Bail out and be quiet
   virtual void quit() const {
     ThePEG::Repository::cleanup();
-- 
GitLab