Showing different help on the help page and the command-line.

This commit is contained in:
Andrew Hamilton 2016-09-30 21:28:05 +02:00
parent 72be7b44bf
commit 4af3658825
3 changed files with 35 additions and 29 deletions

View file

@ -12,23 +12,6 @@
│ │
│The reports are cached in the codebase's root directory in a ".vigil" directory. │
│ │
│ │
│Usage: │
│ vigil [options] <directory> │
│ vigil -h | --help │
│ │
│Example: │
│ # vigil my_project │
│ │
│Options: │
│ -h, --help Show this screen and exit. │
│ -s on|off, --sandbox=on|off Use a sandbox to prevent changes to the │
│ filesystem. The sandbox is on by default. │
│ -w COUNT, --workers=COUNT The number of processes working in parallel. │
│ By default it is twice the number of cpus. │
│ -e "COMMAND", --editor="COMMAND" The command used to start the editor, in │
│ the edit command. It may contain options. │
│ │
│Keys: │
h - Show the help screen. (toggle) │
q - Quit. │
@ -57,4 +40,21 @@
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘