Reported by Andrea G. Monaco <andrea.monaco@autistici.org> in
<https://lists.gnu.org/archive/html/bug-gettext/2020-12/msg00036.html>.
* gettext-tools/doc/xgettext.texi: Add an example.
Increase verbosity level.
@end table
+
+@subsection Example
+
+A sample invocation of @code{xgettext}, in a project
+that has a single source file @file{src/hello.c}
+that uses @samp{_} as shorthand for the @code{gettext} function,
+could be:
+
+@example
+xgettext -o hello.pot \
+ --add-comments=TRANSLATORS: \
+ --keyword=_ --flag=_:1:pass-c-format \
+ --directory=.. \
+ src/hello.c
+@end example