Skip to content

Commit aefb1e0

Browse files
committed
Deleted unnecessary newlines in options
1 parent b3eafde commit aefb1e0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/option.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ int main(int argc, const char * argv[])
7171
1, // Required?
7272
1, // Number of args expected.
7373
0, // Delimiter if expecting multiple args.
74-
"* Text file with SNP identifiers in the first column.\n"
75-
"Instead of a file name, you may use 'randomN' with an integer N for"
76-
" a random SNP list of length N.\n",
74+
"* Text file with SNP identifiers in the first column."
75+
" Instead of a file name, you may use 'randomN' with an integer N for"
76+
" a random SNP list of length N.",
7777
"--snps" // Flag token.
7878
);
7979

@@ -83,7 +83,7 @@ int main(int argc, const char * argv[])
8383
1, // Number of args expected.
8484
0, // Delimiter if expecting multiple args.
8585
"* Gene matrix file in GCT format. The Name column must contain the"
86-
" same gene identifiers as in --gene-intervals.\n",
86+
" same gene identifiers as in --gene-intervals.",
8787
"--gene-matrix" // Flag token.
8888
);
8989

@@ -93,7 +93,7 @@ int main(int argc, const char * argv[])
9393
1, // Number of args expected.
9494
0, // Delimiter if expecting multiple args.
9595
"* BED file with gene intervals. The fourth column must contain the"
96-
" same gene identifiers as in --gene-matrix.\n",
96+
" same gene identifiers as in --gene-matrix.",
9797
"--gene-intervals" // Flag token.
9898
);
9999

@@ -103,7 +103,7 @@ int main(int argc, const char * argv[])
103103
1, // Number of args expected.
104104
0, // Delimiter if expecting multiple args.
105105
"* BED file with all known SNP intervals. The fourth column must"
106-
" contain the same SNP identifiers as in --snps and --null-snps.\n",
106+
" contain the same SNP identifiers as in --snps and --null-snps.",
107107
"--snp-intervals" // Flag token.
108108
);
109109

@@ -114,7 +114,7 @@ int main(int argc, const char * argv[])
114114
0, // Delimiter if expecting multiple args.
115115
"* Text file with SNP identifiers to sample when generating null"
116116
" matched or random SNP sets. These SNPs must be a subset of"
117-
" --snp-intervals.\n",
117+
" --snp-intervals.",
118118
"--null-snps" // Flag token.
119119
);
120120

@@ -123,7 +123,7 @@ int main(int argc, const char * argv[])
123123
1, // Required?
124124
1, // Number of args expected.
125125
0, // Delimiter if expecting multiple args.
126-
"* Create output files in this directory.\n", // Help description.
126+
"* Create output files in this directory.", // Help description.
127127
"--out" // Flag token.
128128
);
129129

@@ -135,7 +135,7 @@ int main(int argc, const char * argv[])
135135
"* Text file with a list of columns in --gene-matrix to condition on"
136136
" before calculating p-values. Each column in --gene-matrix is"
137137
" projected onto each column listed in this file and its projection"
138-
" is subtracted.\n",
138+
" is subtracted.",
139139
"--condition" // Flag token.
140140
);
141141

@@ -146,7 +146,7 @@ int main(int argc, const char * argv[])
146146
1, // Number of args expected.
147147
0, // Delimiter if expecting multiple args.
148148
"* If a SNP overlaps no gene intervals, extend the SNP interval this"
149-
" many nucleotides further and try again.\n[default: 250000]\n",
149+
" many nucleotides further and try again.\n[default: 250000]",
150150
"--slop", // Flag token.
151151
vU8
152152
);
@@ -157,7 +157,7 @@ int main(int argc, const char * argv[])
157157
0, // Required?
158158
1, // Number of args expected.
159159
0, // Delimiter if expecting multiple args.
160-
"* Number of threads to use.\n[default: 1]\n",
160+
"* Number of threads to use. [default: 1]",
161161
"--threads", // Flag token.
162162
gt1
163163
);
@@ -169,7 +169,7 @@ int main(int argc, const char * argv[])
169169
1, // Number of args expected.
170170
0, // Delimiter if expecting multiple args.
171171
"* Test this many null matched SNP sets, so you can compare"
172-
" your results to a distribution of null results.\n[default: 10]\n",
172+
" your results to a distribution of null results.\n[default: 10]",
173173
"--null-snpsets", // Flag token.
174174
gt0
175175
);
@@ -182,7 +182,7 @@ int main(int argc, const char * argv[])
182182
"* Stop testing a column in --gene-matrix after observing this many"
183183
" null SNP sets with specificity scores greater or equal to those"
184184
" obtained with the SNP set in --snps. Increase this value to obtain"
185-
" more accurate p-values.\n[default: 25]\n",
185+
" more accurate p-values.\n[default: 25]",
186186
"--min-observations", // Flag token.
187187
gt1
188188
);
@@ -194,7 +194,7 @@ int main(int argc, const char * argv[])
194194
0, // Delimiter if expecting multiple args.
195195
"* Maximum number of null SNP sets tested against each column in"
196196
" --gene-matrix. Increase this value to resolve smaller p-values."
197-
"\n[default: 1000]\n",
197+
"\n[default: 1000]",
198198
"--max-iterations", // Flag token.
199199
gt1
200200
);

0 commit comments

Comments
 (0)