summaryrefslogtreecommitdiff
path: root/meme/meme.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-02-15 00:45:42 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-02-15 00:45:42 (GMT)
commit1dc1b5aa353589678de9c57a4e91dee4bf6984a0 (patch)
tree2fd1d7b167aa8eef18f24695530237c1cb297e6f /meme/meme.c
parentfd937379e2b9ef2d1989f4120bffcb4d48840638 (diff)
downloadmisc-1dc1b5aa353589678de9c57a4e91dee4bf6984a0.zip
misc-1dc1b5aa353589678de9c57a4e91dee4bf6984a0.tar.gz
misc-1dc1b5aa353589678de9c57a4e91dee4bf6984a0.tar.bz2
meme/meme.c (usage): explain what the options do
Diffstat (limited to 'meme/meme.c')
-rw-r--r--meme/meme.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/meme/meme.c b/meme/meme.c
index f759cc7..2f0c976 100644
--- a/meme/meme.c
+++ b/meme/meme.c
@@ -67,8 +67,18 @@ static void usage(const char *name)
fprintf(stderr,
"usage: %s [-d dump.bmp] [-l logfile] [-m marker.gp] [-o overlay.gp ...]\n"
" [file.stl]\n"
-" %s -s plane.gp [-n] [file.stl]\n",
- name, name);
+" %s -s plane.gp [-n] [file.stl]\n\n"
+" -d dump.bmp\n"
+" write screen dump to specified file (default: meme-NNNN.bmp)\n"
+" -l logfile\n"
+" write measurement data to the specified file\n"
+" -m marker.gp\n"
+" show markers specified in the file\n"
+" -n when slicing, try to compensate for the scanning needle geometry\n"
+" -o overlay.gp\n"
+" display the specified overlays. The option can be repeated.\n"
+" -s slice the mesh with a plane. This is non-interactive.\n"
+ , name, name);
exit(1);
}