From e09398c6ef5af049a28b88690911343ba5238e67 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Mon, 18 Jul 2016 15:34:48 -0400 Subject: Improve help string for status command --- dotfiles/cli.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dotfiles/cli.py b/dotfiles/cli.py index 15f5992..5a0dbf4 100644 --- a/dotfiles/cli.py +++ b/dotfiles/cli.py @@ -196,7 +196,12 @@ def unlink(repos, debug, files): @click.option('-c', '--color', is_flag=True, help='Enable color output.') @pass_repos def status(repos, all, color): - """Show all dotfiles in a non-OK state.""" + """Show all dotfiles in a non-OK state. + + Legend: + + ?: missing !: conflict E: error""" + state_info = { 'error': {'char': 'E', 'color': None}, 'missing': {'char': '?', 'color': None}, -- cgit v1.2.3