Changeset - d89217cca11a
[Not reviewed]
default
0 1 0
Mads Kiilerich - 6 years ago 2019-07-03 12:25:55
mads@kiilerich.com
Grafted from: 30668ce1c40e
cli: introduce -h alias for --help

Very convenient for muscle memory ...
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/bin/kallithea_cli_base.py
Show inline comments
 
@@ -19,13 +19,13 @@ import os
 
import kallithea
 
import logging.config
 
import paste.deploy
 

	
 

	
 
# This placeholder is the main entry point for the kallithea-cli command
 
@click.group()
 
@click.group(context_settings=dict(help_option_names=['-h', '--help']))
 
def cli():
 
    """Various commands to manage a Kallithea instance."""
 

	
 
def register_command(config_file=False, config_file_initialize_app=False):
 
    """Register a kallithea-cli subcommand.
 

	
0 comments (0 inline, 0 general)