summaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-12-05 09:35:40 -0700
committerJens Axboe <axboe@fb.com>2014-12-05 09:35:40 -0700
commita893c26129358a934767a92d487510c87c81dde8 (patch)
tree0726080239a21cf7ea00ed81c58c1608658a6cb1 /parse.c
parentbfd197cba750f32b224a83c846c52b0bd3f127a2 (diff)
downloadfio-a893c26129358a934767a92d487510c87c81dde8.tar.gz
fio-a893c26129358a934767a92d487510c87c81dde8.tar.bz2
parse: make suggestions for unknown options
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.c b/parse.c
index 42096471..141f4b28 100644
--- a/parse.c
+++ b/parse.c
@@ -1068,7 +1068,7 @@ int parse_option(char *opt, const char *input,
* Option match, levenshtein distance. Handy for not quite remembering what
* the option name is.
*/
-static int string_distance(const char *s1, const char *s2)
+int string_distance(const char *s1, const char *s2)
{
unsigned int s1_len = strlen(s1);
unsigned int s2_len = strlen(s2);