about summary refs log tree commit diff
path: root/mshow.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-26 21:58:02 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-26 22:09:26 +0200
commit905851a851a572bc1186214235af3790a524e025 (patch)
treef5f52eb84823daeb179830d9af2740ede3c5536a /mshow.c
parent3d694808eb0dafc8c952ea4716265c040bdd2277 (diff)
downloadmblaze-905851a851a572bc1186214235af3790a524e025.tar.gz
mblaze-905851a851a572bc1186214235af3790a524e025.tar.xz
mblaze-905851a851a572bc1186214235af3790a524e025.zip
mshow: add usage
Diffstat (limited to 'mshow.c')
-rw-r--r--mshow.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/mshow.c b/mshow.c
index 91bc281..14db2ef 100644
--- a/mshow.c
+++ b/mshow.c
@@ -636,7 +636,13 @@ main(int argc, char *argv[])
 		case 'R': Rflag = 1; break;
 		case 'n': nflag = 1; break;
                 default:
-                        // XXX usage
+			fprintf(stderr,
+			    "Usage: mshow [-h headers] [-qrHL] [msgs...]\n"
+			    "       mshow -x msg parts...\n"
+			    "       mshow -O msg parts...\n"
+			    "       mshow -t msgs...\n"
+			    "       mshow -R msg\n"
+			);
                         exit(1);
                 }