diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-09-22 23:25:35 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-09-22 23:25:35 +0300 |
commit | ff04205b2d794ae9157f9c423295da97bcebd90e (patch) | |
tree | 06d3a5abecb2c3954d6c4895ee0362d38836ecb1 /src/actionhelper.c | |
parent | 405afc36e0929d887188be09a5886f79ff0ea1c4 (diff) | |
download | ck-ff04205b2d794ae9157f9c423295da97bcebd90e.tar.gz ck-ff04205b2d794ae9157f9c423295da97bcebd90e.tar.bz2 ck-ff04205b2d794ae9157f9c423295da97bcebd90e.zip |
Add search action
Diffstat (limited to 'src/actionhelper.c')
-rw-r--r-- | src/actionhelper.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/actionhelper.c b/src/actionhelper.c index 9710ef8..e0876eb 100644 --- a/src/actionhelper.c +++ b/src/actionhelper.c @@ -198,11 +198,14 @@ void print_LIST_result(int err) { } void print_SEARCH_result(int err) { + if (err == 2) { + printf("No grep avaliable. Please make sure you have grep installed.\n"); + return; + } if (!err) { - printf("succes\n"); return; } - printf("Not Supported\n"); + printf("Wrong search.\n"); } void print_HELP_result(int err) { |