aboutsummaryrefslogtreecommitdiffstats
path: root/info/gpp.texinfo
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-10-24 21:49:04 +0200
committerMattias Andrée <maandree@operamail.com>2013-10-24 21:49:04 +0200
commitf136aac49b09ab9746c236d2cce93d220800724f (patch)
treee9ebc085ab7f1af1126e1a8ef6dae2d3c8da61d8 /info/gpp.texinfo
parentinfo manual: invoking (diff)
downloadgpp-f136aac49b09ab9746c236d2cce93d220800724f.tar.gz
gpp-f136aac49b09ab9746c236d2cce93d220800724f.tar.bz2
gpp-f136aac49b09ab9746c236d2cce93d220800724f.tar.xz
add option: -u twice
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'info/gpp.texinfo')
-rw-r--r--info/gpp.texinfo12
1 files changed, 11 insertions, 1 deletions
diff --git a/info/gpp.texinfo b/info/gpp.texinfo
index 20049f4..133afc5 100644
--- a/info/gpp.texinfo
+++ b/info/gpp.texinfo
@@ -118,10 +118,20 @@ Number of iterations to run the preprocessing in. (Default: 1)
@item -u
@itemx --unshebang
-Bland out the shebang line. Notice that the line is not removed,
+Blank out the shebang line. Notice that the line is not removed,
it is just cleared. You can use a shebang line make gpp preprocess
the file when executed.
+If @option{--unshebang} is used twice, the second line in the
+file will be moved up to the top of the file and the initial
+shebang line will be removed. A blank line will be inserted
+after the new top line will be added to keep the line numbers
+in the output file as near as possible to the line numbers
+in the input file. The intension of this option is that you
+can have two shebang lines, one on the first line for preprocessing
+when the file is executed, and one shebang line on the second
+line for output file.
+
@item -i
@itemx --input
Set the input file. (Default: /dev/stdin)