aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/__init__.py b/sos/__init__.py
index cc8ce86f..628d8fbd 100644
--- a/sos/__init__.py
+++ b/sos/__init__.py
@@ -110,7 +110,8 @@ class SoS():
for comp in self._components:
_com_subparser = self.subparsers.add_parser(
comp,
- aliases=self._components[comp][1]
+ aliases=self._components[comp][1],
+ prog="sos %s" % comp
)
_com_subparser.usage = "sos %s [options]" % comp
_com_subparser.register('action', 'extend', SosListOption)