]> diplodocus.org Git - nmh/blobdiff - test/dist/test-dist
Fixed typo in -help message.
[nmh] / test / dist / test-dist
index 5c10b17e2564139517ca7c9511642db6f9e3c8a3..fd0df96a1442648e84885343e70fa62255776995 100755 (executable)
@@ -71,7 +71,8 @@ Usage: dist [+folder] [msg] [switches]
   -[no]atfile
 EOF
 
-dist -help >"$actual" 2>&1
+#### Skip nmh intro text.
+dist -help | sed '/^$/Q' >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version