def test_help(self):
        """
        If no arguments are given the help menu is displayed.
        """
        (retcode, stdout, stderr) = self.gscommand('git-sweep -h')

        self.assertResults('''
            usage: git-sweep <action> [-h]

            Clean up your Git remote branches.

            optional arguments:
              -h, --help         show this help message and exit

            action:
              Preview changes or perform clean up

              {preview,cleanup}
                preview          Preview the branches that will be deleted
                cleanup          Delete merged branches from the remote
            ''', stdout)

        If no arguments are given the help menu is displayed.
        
src/gitsweep/tests/test_cli.py