From 5fd40af2856c9d4b2a65bedd1192949445f77df2 Mon Sep 17 00:00:00 2001
From: Fabio Manganiello <fabio@manganiello.tech>
Date: Mon, 24 Jul 2023 02:37:08 +0200
Subject: [PATCH] Revert "Added explicit --help option."

This reverts commit 1304be07182e66997411211e855fe4110adb7f84.
---
 platypush/app.py | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/platypush/app.py b/platypush/app.py
index 92e0cca2b..f060c6b65 100644
--- a/platypush/app.py
+++ b/platypush/app.py
@@ -163,9 +163,7 @@ class Application:
         """
         from . import __version__
 
-        parser = argparse.ArgumentParser(
-            description='A general-purpose platform for automation'
-        )
+        parser = argparse.ArgumentParser()
 
         parser.add_argument(
             '--config',
@@ -176,15 +174,6 @@ class Application:
             help='Custom location for the configuration file',
         )
 
-        parser.add_argument(
-            '--help',
-            '-h',
-            dest='help',
-            required=False,
-            action='store_true',
-            help="Print this help and exit",
-        )
-
         parser.add_argument(
             '--version',
             dest='version',
@@ -271,15 +260,10 @@ class Application:
         )
 
         opts, _ = parser.parse_known_args(args)
-
         if opts.version:
             print(__version__)
             sys.exit(0)
 
-        if opts.help:
-            parser.print_help()
-            sys.exit(0)
-
         return cls(
             config_file=opts.config,
             pidfile=opts.pidfile,