diff --git a/git_cl.py b/git_cl.py index b13dc4d0c..a9b237652 100755 --- a/git_cl.py +++ b/git_cl.py @@ -2775,6 +2775,29 @@ def CMDformat(parser, args): return 0 +def CMDlol(parser, args): + # This command is intentionally undocumented. + print(""" / / + (\/_//`) + / '/ + 0 0 \ + / \ + / __/ \ + /, _/ \ \_ + `-./ ) | ~^~^~^~^~^~^~^~\~. + ( / \_} + | / | + ; | \ / + \/ ,/ \ | + / /~~|~|~~~~~~|~|\ | + / / | | | | `\ \ + / / | | | | \ \ + / ( | | | | \ \ + jgs /,_) /__) /__) /,_/ + '''''"""""'''""""""'''""""""''"""""''''' """) + return 0 + + class OptionParser(optparse.OptionParser): """Creates the option parse and add --verbose support.""" def __init__(self, *args, **kwargs): diff --git a/subcommand.py b/subcommand.py index 0b0fa6e30..b6f8e5cd5 100644 --- a/subcommand.py +++ b/subcommand.py @@ -192,7 +192,7 @@ class CommandDispatcher(object): rest = textwrap.dedent('\n'.join(lines[1:])) parser.description = '\n'.join((lines[0], rest)) else: - parser.description = lines[0] + parser.description = lines[0] if lines else '' if parser.description: parser.description += '\n' parser.epilog = getattr(command, 'epilog', None)