summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index 62ca816..9a71747 100644
--- a/src/search.c
+++ b/src/search.c
@@ -103,7 +103,7 @@ static int option_parse_applet(void *ctx, struct apk_db_options *dbopts, int opt
ictx->show_all = 1;
break;
default:
- return -1;
+ return -ENOTSUP;
}
return 0;
}