diff --git a/samcli/__main__.py b/samcli/__main__.py
index <HASH>..<HASH> 100644
--- a/samcli/__main__.py
+++ b/samcli/__main__.py
@@ -7,4 +7,6 @@ python -m samcli
 from samcli.cli.main import cli
 
 if __name__ == "__main__":
-    cli()
+    # NOTE(TheSriram): prog_name is always set to "sam". This way when the CLI is invoked as a module,
+    # the help text that is generated still says "sam" instead of "__main__".
+    cli(prog_name="sam")
fix: always ensure the base command is set to "sam" (#<I>)

* fix: always ensure the base command is set to "sam"



- irrespective of the module name that invokes the CLI, the command that

  is seen on the help/description text, should always say "sam"



* fix: set prog_name to be "sam" without changing context