From dc78053cec3017cd7e6b7c2a73b0099454534918 Mon Sep 17 00:00:00 2001 From: Arrielle Opotowsky Date: Wed, 27 Dec 2023 13:28:38 -0600 Subject: [PATCH] Fixing CLI description printout (#1566) --- armi/cli/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/armi/cli/__init__.py b/armi/cli/__init__.py index 19a7384c7..7b2f13bdd 100644 --- a/armi/cli/__init__.py +++ b/armi/cli/__init__.py @@ -101,9 +101,9 @@ def print_help(self, file=None): class ArmiCLI: """ ARMI CLI -- The main entry point into ARMI. There are various commands - available, to get help for the individual commands, run again with - ` --help`. Generically, the CLI implements functions that already - exists within ARMI. + available. To get help for the individual commands, run again with + ` --help`. Typically, the CLI implements functions that already + exist within ARMI. .. impl:: The basic ARMI CLI, for running a simulation. :id: I_ARMI_CLI_CS @@ -128,7 +128,7 @@ def __init__(self): parser = ArmiParser( prog=context.APP_NAME, - description=self.__doc__, + description=self.__doc__.split(".. impl")[0], usage="%(prog)s [-h] [-l | command [args]]", )