~npalix/coccinelle/upstream

« back to all changes in this revision

Viewing changes to docs/spatch.1.in

  • Committer: Sébastien Hinderer
  • Date: 2015-08-10 12:22:12 UTC
  • mto: (4116.2.93)
  • mto: This revision was merged to the branch mainline in revision 4121.
  • Revision ID: git-v1:848f85e256516330c06f5fd8dc782b854ed9aa03
Remove a bunch of trailing whitespaces and blank lines at end of files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
.\" for manpage-specific macros, see man(7)
20
20
.\"
21
21
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
22
 
.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
 
22
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
23
23
.\" respectively. Also \fR for roman.
24
24
.\" pad: src: deputy man page
25
25
.SH NAME
30
30
.B \-\-sp\-file
31
31
.I <SP>
32
32
.I <files>
33
 
.B [-o 
 
33
.B [-o
34
34
.I <outfile>
35
 
.B ] 
36
 
.B [\-\-iso\-file 
 
35
.B ]
 
36
.B [\-\-iso\-file
37
37
.I <iso>
38
 
.B ] 
 
38
.B ]
39
39
.B [
40
40
.I options
41
41
.B ]
70
70
.B \-\-macro\-file          \fI<file>\fP
71
71
(default=@SHAREDIR@/standard.h)
72
72
.TP
73
 
.B \-\-debug        
 
73
.B \-\-debug
74
74
print some information to help debug the matching process
75
75
.TP
76
 
.B \-\-all\-includes        
 
76
.B \-\-all\-includes
77
77
causes all available include files to be used
78
78
.TP
79
 
.B \-\-no\-includes         
 
79
.B \-\-no\-includes
80
80
causes not even local include files to be used
81
81
.TP
82
82
.B -I                   \fI<dir>\fP
83
83
the directory containing the include files
84
 
.TP 
85
 
.B \-\-include\-headers     
 
84
.TP
 
85
.B \-\-include\-headers
86
86
process header files independently
87
87
.TP
88
 
.B \-\-use\-glimpse         
 
88
.B \-\-use\-glimpse
89
89
works with \-\-dir, use information generated by glimpseindex
90
90
.TP
91
91
.B -o                   \fI<file>\fP
92
92
the output file. If none is specified, a patch is generated on the standard
93
93
output
94
94
.TP
95
 
.B \-\-in\-place             
 
95
.B \-\-in\-place
96
96
do the modification on the file directly
97
97
.TP
98
 
.B \-\-out\-place            
 
98
.B \-\-out\-place
99
99
store modifications in a .cocci_res file
100
100
.TP
101
 
.B \-\-version             
 
101
.B \-\-version
102
102
show the version of spatch
103
103
.TP
104
 
.B \-\-date                
 
104
.B \-\-date
105
105
show the date on which spatch was compiled
106
106
.TP
107
 
.B \-\-shorthelp           
 
107
.B \-\-shorthelp
108
108
see short list of options
109
109
.TP
110
 
.B \-\-longhelp            
 
110
.B \-\-longhelp
111
111
see all the available options in different categories
112
 
.TP 
113
 
.B \-help, \-\-help             
 
112
.TP
 
113
.B \-help, \-\-help
114
114
show summary of options.
115
115
 
116
116
.SH EXAMPLES
129
129
/tmp/newfoo.c.
130
130
 
131
131
It is also possible to apply spatch to all of the C files in
132
 
a directory: 
 
132
a directory:
133
133
 
134
134
  ./spatch \-\-cocci\-file foo.cocci \-\-dir foodir
135
135
 
580
580
 
581
581
.SH ENVIRONMENT
582
582
.IP COCCINELLE_HOME
583
 
The path to the Coccinelle share directory. Default is 
 
583
The path to the Coccinelle share directory. Default is
584
584
.I @SHAREDIR@
585
585
 
586
586
.SH REFERENCES
621
621
 
622
622
.SH SEE ALSO
623
623
\fIpatch\fP(1), \fIdiff\fP(1)
624