This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 53718
Collapse All | Expand All

(-)LogCommand.java (-1 / +30 lines)
Lines 41-46 Link Here
41
    private String dateFilter;
41
    private String dateFilter;
42
42
43
    /**
43
    /**
44
     * Holds value of property suppressHeader.
45
     */
46
    private boolean suppressHeader;
47
48
    /**
44
     * Holds value of property headerOnly.
49
     * Holds value of property headerOnly.
45
     */
50
     */
46
    private boolean headerOnly;
51
    private boolean headerOnly;
Lines 110-115 Link Here
110
            if (headerOnly) {
115
            if (headerOnly) {
111
                requests.add(1, new ArgumentRequest("-h")); //NOI18N
116
                requests.add(1, new ArgumentRequest("-h")); //NOI18N
112
            }
117
            }
118
            if (suppressHeader) {
119
            	 requests.add(1, new ArgumentRequest("-S")); //NOI18IN
120
            }
113
            if (noTags) {
121
            if (noTags) {
114
                requests.add(1, new ArgumentRequest("-N")); //NOI18N
122
                requests.add(1, new ArgumentRequest("-N")); //NOI18N
115
            }
123
            }
Lines 202-207 Link Here
202
        this.headerOnly = headerOnly;
210
        this.headerOnly = headerOnly;
203
    }
211
    }
204
212
213
    /** Getter for property suppressHeader, equals the command-line CVS switch "-S".
214
     * @return Value of property suppressHeader.
215
     */
216
    public boolean isSuppressHeader() {
217
        return suppressHeader;
218
    }
219
220
    /** Setter for property headerOnly, equals the command-line CVS switch "-S".
221
     * @param suppressHeader New value of property suppressHeader.
222
     */
223
    public void setSuppressHeader(boolean suppressHeader) {
224
        this.suppressHeader = suppressHeader;
225
    }
226
205
    /** Getter for property noTags, equals the command-line CVS switch "-N".
227
    /** Getter for property noTags, equals the command-line CVS switch "-N".
206
     * @return Value of property noTags.
228
     * @return Value of property noTags.
207
     */
229
     */
Lines 311-316 Link Here
311
        else if (opt == 't') {
333
        else if (opt == 't') {
312
            setHeaderAndDescOnly(true);
334
            setHeaderAndDescOnly(true);
313
        }
335
        }
336
        else if (opt == 'S') {
337
            setSuppressHeader(true);
338
        }
314
        else if (opt == 'N') {
339
        else if (opt == 'N') {
315
            setNoTags(true);
340
            setNoTags(true);
316
        }
341
        }
Lines 338-343 Link Here
338
        setDefaultBranch(false);
363
        setDefaultBranch(false);
339
        setHeaderOnly(false);
364
        setHeaderOnly(false);
340
        setHeaderAndDescOnly(false);
365
        setHeaderAndDescOnly(false);
366
        setSuppressHeader(false);
341
        setNoTags(false);
367
        setNoTags(false);
342
        setDateFilter(null);
368
        setDateFilter(null);
343
        setRevisionFilter(null);
369
        setRevisionFilter(null);
Lines 349-355 Link Here
349
     * String returned by this method defines which options are available for this particular command
375
     * String returned by this method defines which options are available for this particular command
350
     */
376
     */
351
    public String getOptString() {
377
    public String getOptString() {
352
        return "RlbhtNd:r:s:w:"; //NOI18N4
378
        return "RlbhStNd:r:s:w:"; //NOI18N4
353
    }
379
    }
354
380
355
    /**
381
    /**
Lines 366-371 Link Here
366
        }
392
        }
367
        if (isHeaderOnly()) {
393
        if (isHeaderOnly()) {
368
            toReturn.append("-h "); //NOI18N
394
            toReturn.append("-h "); //NOI18N
395
        }
396
        if (isSuppressHeader()) {
397
            toReturn.append("-S "); //NOI18N
369
        }
398
        }
370
        if (isNoTags()) {
399
        if (isNoTags()) {
371
            toReturn.append("-N "); //NOI18N
400
            toReturn.append("-N "); //NOI18N

Return to bug 53718