diff --git a/Makefile b/Makefile index b143810..9a858a7 100644 --- a/Makefile +++ b/Makefile @@ -203,8 +203,11 @@ check_docs: @cat src/cmdline.cc | grep -o -- '--[a-z][a-z]*' | sort | uniq | grep -v internaltesting > /tmp/options_in_code @cat wmbusmeters.1 | grep -o -- '--[a-z][a-z]*' | sort | uniq | grep -v internaltesting > /tmp/options_in_man @cat README.md | grep -o -- '--[a-z][a-z]*' | sort | uniq | grep -v internaltesting > /tmp/options_in_readme + @./build/wmbusmeters --help | grep -o -- '--[a-z][a-z]*' | sort | uniq | grep -v internaltesting > /tmp/options_in_binary @diff /tmp/options_in_code /tmp/options_in_man @diff /tmp/options_in_code /tmp/options_in_readme + @diff /tmp/options_in_code /tmp/options_in_binary + @echo "OK docs" install: $(BUILD)/wmbusmeters check_docs @./install.sh $(BUILD)/wmbusmeters $(DESTDIR) $(EXTRA_INSTALL_OPTIONS) diff --git a/README.md b/README.md index bd95539..1e97477 100644 --- a/README.md +++ b/README.md @@ -185,6 +185,7 @@ As you can use: --alarmshell= invokes cmdline when an alarm triggers --alarmtimeout=