diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2018-10-19 13:06:27 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2018-10-19 13:06:27 +0300 |
commit | 18e6099230c3bfe23d4faeeae289554f127deb87 (patch) | |
tree | e395857e93a6f40a801aa97c8fd4e9349c72e824 /src/actionhelper.c | |
parent | 147efc35461763c38e8875afac7bc44d2559204b (diff) | |
download | ck-18e6099230c3bfe23d4faeeae289554f127deb87.tar.gz ck-18e6099230c3bfe23d4faeeae289554f127deb87.tar.bz2 ck-18e6099230c3bfe23d4faeeae289554f127deb87.zip |
Add install script and config/verbose help
Diffstat (limited to 'src/actionhelper.c')
-rw-r--r-- | src/actionhelper.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/actionhelper.c b/src/actionhelper.c index 6507e7b..6e76b2b 100644 --- a/src/actionhelper.c +++ b/src/actionhelper.c @@ -398,3 +398,24 @@ void print_HELP_help() { ckhelp("Note:\nRunning ck without arguments will print all the available actions."); report_help(); } + +void print_conf_help(void) { + ckhelp("Set a different ck configuration directory.\n"); + ckhelp("This has to be passed before any action or action argument"); + ckhelp("and after verbose (if set).\n"); + ckhelp("Usage:"); + ckhelp(" ck -c /path/to/conf ..."); + ckhelp(" ck config /path/to/conf ...\n"); + ckhelp("ck will use the database and config file in the path supplied"); + ckhelp("to perform any actions.\n"); + ckhelp("Tip:\nYou can alias `ck -c /path/to/conf` and use the new alias"); + ckhelp("to organise a different set of configurations, or some custom scrpits."); + report_help(); +} + +void print_verbose_help(void) { + ckhelp("WIP\n"); + ckhelp("Currently passing the verbose flag, prints a log of what ck is doing"); + ckhelp("during excecution of an action."); + report_help(); +} |