---
 tools/Makefile.am |    5 +++++
 tools/fxt_print.c |    7 ++++---
 2 files changed, 9 insertions(+), 3 deletions(-)

--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -93,3 +93,8 @@ fut_print.h: fut.h
 				"\"}," \
 			}' \
 		$< > $@ || ( $(RM) -f $@ ; exit 1 )
+
+fxt_print.1: fxt_print
+	help2man --version-string=$(VERSION) -N -n "Dump the content of an FxT trace file" --output=$@ ./$<
+
+man1_MANS = fxt_print.1
--- a/tools/fxt_print.c
+++ b/tools/fxt_print.c
@@ -323,10 +323,11 @@ void dump64(fxt_blockev_t evs, int offse
 
 void usage(char *progname)
 {
-	printf("Usage: %s [-d] [-o] [-x] [-f record-file]\n\
+	printf("Dump the content of an FxT trace file\n\
+Usage: %s [-d] [-o] [-x] [-f record-file]\n\
 \n\
-	if -f is not given, look for TRACE_FILE environment variable, and\n\
-		if that is not given, read from \"" DEFAULT_TRACE_FILE "\".\n\
+if -f is not given, look for TRACE_FILE environment variable, and\n\
+if that is not given, read from \"" DEFAULT_TRACE_FILE "\".\n\
 \n\
         -d : dump mode (no trace interpretation)\n\
         -o : time offset (from begining)\n\
