summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortagoh <tagoh>2006-05-25 07:26:55 +0000
committertagoh <tagoh>2006-05-25 07:26:55 +0000
commit98ed8bd3cc4638680b78ca41ab63acab2e802ad6 (patch)
tree4b27ad3a5d061375d81227f9c6685b6299a1c0f8
parent7b11e6b1532f287b8c6da2552bf0ace5fe331453 (diff)
downloadpaps-98ed8bd3cc4638680b78ca41ab63acab2e802ad6.tar.gz
paps-98ed8bd3cc4638680b78ca41ab63acab2e802ad6.tar.xz
paps-98ed8bd3cc4638680b78ca41ab63acab2e802ad6.zip
2006-05-25 Akira TAGOH <at@gclab.org>
* src/paps.1: fixed a typo. (#1491827) * src/paps.c: changed an option name --font_scale to --font-scale according to other options prefers a hyphen other than underscore.
-rw-r--r--ChangeLog7
-rw-r--r--src/paps.12
-rw-r--r--src/paps.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 55c213c..66024d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-05-25 Akira TAGOH <at@gclab.org>
+
+ * src/paps.1: fixed a typo. (#1491827)
+
+ * src/paps.c: changed an option name --font_scale to --font-scale
+ according to other options prefers a hyphen other than underscore.
+
2006-04-26 Dov Grobgeld <dov.grobgeld@gmail.com>
* src/libpaps.c: Got rid of dead old crud.
diff --git a/src/paps.1 b/src/paps.1
index 4074dfc..15b491b 100644
--- a/src/paps.1
+++ b/src/paps.1
@@ -34,7 +34,7 @@ Landscape output. Default is portrait.
.B \-\-columns=cl
Number of columns output. Default is 1.
.TP
-.B \-\-fontscale=fs
+.B \-\-font\-scale=fs
Font scaling. Default is 12.
.TP
.B \-\-family=f
diff --git a/src/paps.c b/src/paps.c
index b0702a1..c4e64ef 100644
--- a/src/paps.c
+++ b/src/paps.c
@@ -190,7 +190,7 @@ int main(int argc, char *argv[])
GOptionEntry entries[] = {
{"landscape", 0, 0, G_OPTION_ARG_NONE, &do_landscape, "Landscape output. (Default: portrait)", NULL},
{"columns", 0, 0, G_OPTION_ARG_INT, &num_columns, "Number of columns output. (Default: 1)", "NUM"},
- {"font_scale", 0, 0, G_OPTION_ARG_INT, &font_scale, "Font scaling. (Default: 12)", "NUM"},
+ {"font-scale", 0, 0, G_OPTION_ARG_INT, &font_scale, "Font scaling. (Default: 12)", "NUM"},
{"family", 0, 0, G_OPTION_ARG_STRING, &font_family, "Pango FT2 font family. (Default: Monospace)", "FAMILY"},
{"rtl", 0, 0, G_OPTION_ARG_NONE, &do_rtl, "Do rtl layout.", NULL},
{"justify", 0, 0, G_OPTION_ARG_NONE, &do_justify, "Do justify the lines.", NULL},