diff --git a/README.pdf b/README.pdf index 8b13b13..0ccbca6 100644 Binary files a/README.pdf and b/README.pdf differ diff --git a/code.pdf b/code.pdf index d87d64c..714d28f 100644 Binary files a/code.pdf and b/code.pdf differ diff --git a/docs/docs.md b/docs/docs.md index 8abef37..2b54da5 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -32,7 +32,7 @@ Arguments You may use long, descriptive arguments or the shorter arguments. -`-mh, --lineheight height` +`-mh, --line-height height` : Set spmenu line height to height `-mw, --min-width width` diff --git a/libs/argv.c b/libs/argv.c index 506539e..c81d37f 100644 --- a/libs/argv.c +++ b/libs/argv.c @@ -207,7 +207,7 @@ readargs(int argc, char *argv[]) maxcache = atoi(argv[++i]); } else if (!strcmp(argv[i], "-l") || (!strcmp(argv[i], "--lines"))) { // number of lines in grid lines = atoi(argv[++i]); - } else if (!strcmp(argv[i], "-mh") || (!strcmp(argv[i], "--lineheight"))) { // line height + } else if (!strcmp(argv[i], "-mh") || (!strcmp(argv[i], "--lineheight")) || (!strcmp(argv[i], "--line-height"))) { // line height lineheight += atoi(argv[++i]); if (columns == 0) columns = 1; } else if (!strcmp(argv[i], "-mw") || (!strcmp(argv[i], "--min-width"))) { // line height @@ -415,7 +415,7 @@ usage(void) fputs("spmenu: fancy dynamic menu\n\n" "- Arguments -\n" "spmenu -l, --lines Set line count to stdin\n" - "spmenu -mh, --lineheight Set spmenu line height to \n" + "spmenu -mh, --line-height Set spmenu line height to \n" "spmenu -mw, --min-width Set minimum width to \n" "spmenu -g, --columns Set the number of grids to \n" "spmenu -gc, --generate-cache Generate image cache\n" diff --git a/spmenu.1 b/spmenu.1 index fd8f316..cb8b3c2 100644 --- a/spmenu.1 +++ b/spmenu.1 @@ -49,7 +49,7 @@ See a list below for a list. .PP You may use long, descriptive arguments or the shorter arguments. .TP -\f[V]-mh, --lineheight height\f[R] +\f[V]-mh, --line-height height\f[R] Set spmenu line height to height .TP \f[V]-mw, --min-width width\f[R] diff --git a/spmenu.html b/spmenu.html index dfab5f1..f42a31a 100644 --- a/spmenu.html +++ b/spmenu.html @@ -191,7 +191,7 @@ spmenu. See a list below for a list.

Arguments

You may use long, descriptive arguments or the shorter arguments.

-
-mh, --lineheight height
+
-mh, --line-height height
Set spmenu line height to height
diff --git a/spmenu.pdf b/spmenu.pdf index c20e0cc..f15a03a 100644 Binary files a/spmenu.pdf and b/spmenu.pdf differ