summaryrefslogtreecommitdiff
path: root/source/tools/mutool.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/tools/mutool.c')
-rw-r--r--source/tools/mutool.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/tools/mutool.c b/source/tools/mutool.c
index 868ebf28..1389b37b 100644
--- a/source/tools/mutool.c
+++ b/source/tools/mutool.c
@@ -72,6 +72,11 @@ int main(int argc, char **argv)
for (i = 0; i < nelem(tools); i++)
if (!strcmp(tools[i].name, argv[1]))
return tools[i].func(argc - 1, argv + 1);
+ if (!strcmp(argv[1], "-v"))
+ {
+ fprintf(stderr, "mutool version %s\n", FZ_VERSION);
+ return 0;
+ }
}
/* Print usage */