[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/makeinfo makeinfo.c,1.35,1.36
From: |
dirt |
Subject: |
texinfo/makeinfo makeinfo.c,1.35,1.36 |
Date: |
Sat, 31 Jan 2004 14:34:47 +0100 |
Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv30123/makeinfo
Modified Files:
makeinfo.c
Log Message:
2004-01-31 Alper Ersoy <address@hidden>
* makeinfo/makeinfo.c (main, usage): new --output-indent option.
Index: makeinfo.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/makeinfo.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** makeinfo.c 31 Jan 2004 12:50:07 -0000 1.35
--- makeinfo.c 31 Jan 2004 13:34:45 -0000 1.36
***************
*** 445,448 ****
--- 445,455 ----
"));
+ printf (_("\
+ Options for XML and Docbook:\n\
+ --output-indent=VAL indent XML elements by VAL spaces (default
%d).\n\
+ If VAL is 0, ignorable whitespace is
dropped.\n\
+
+ "), xml_indentation_increment);
+
puts (_("\
Input file options:\n\
***************
*** 537,540 ****
--- 544,548 ----
{ "number-sections", 0, &number_sections, 1 },
{ "output", 1, 0, 'o' },
+ { "output-indent", 1, 0, 'i' },
{ "paragraph-indent", 1, 0, 'p' },
{ "plaintext", 0, 0, 't' },
***************
*** 614,618 ****
/* Parse argument flags from the input line. */
! while ((c = getopt_long (argc, argv, "D:de:E:f:hI:o:p:P:r:s:t:U:vV:wx",
long_options, &ind)) != EOF)
{
--- 622,626 ----
/* Parse argument flags from the input line. */
! while ((c = getopt_long (argc, argv, "D:de:E:f:hI:i:o:p:P:r:s:t:U:vV:wx",
long_options, &ind)) != EOF)
{
***************
*** 683,686 ****
--- 691,704 ----
/* Append user-specified dir to include file path. */
append_to_include_path (optarg);
+ break;
+
+ case 'i':
+ if (sscanf (optarg, "%d", &xml_indentation_increment) != 1)
+ {
+ fprintf (stderr,
+ _("%s: %s arg must be numeric, not `%s'.\n"),
+ progname, "--output-indent", optarg);
+ usage (1);
+ }
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/makeinfo makeinfo.c,1.35,1.36,
dirt <=