cmdr
Check-in [5299cd1353]
Not logged in
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update expected test results.
Timelines: family | ancestors | descendants | both | neg-aliases
Files: files | file ages | folders
SHA1: 5299cd135340411059b3a54fe74033ced40282ff
User & Date: aku 2015-05-11 23:02:19
Context
2015-05-12
21:53
Added tests checking runtime handling of negative aliases. check-in: af44ad2581 user: aku tags: neg-aliases
2015-05-11
23:02
Update expected test results. check-in: 5299cd1353 user: aku tags: neg-aliases
23:02
Fix the guard conditions for negative aliases. check-in: 4eaa72578e user: aku tags: neg-aliases
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tests/parameter.tests.

44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
..
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
...
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
...
219
220
221
222
223
224
225


226
227
228
229
230
231
232
...
238
239
240
241
242
243
244

245
246
247
248
249
250
251
...
257
258
259
260
261
262
263

264
265
266
267
268
269
270
...
379
380
381
382
383
384
385

386
387
388
389
390
391
392
...
489
490
491
492
493
494
495


496
497
498
499
500
501
502
...
571
572
573
574
575
576
577


578
579
580
581
582
583
584
...
735
736
737
738
739
740
741

742
743
744
745
746
747
748
...
754
755
756
757
758
759
760

761
762
763
764
765
766
767
...
843
844
845
846
847
848
849


850
851
852
853
854
855
856
        map -A --> (-A)
        map -X --> (-X)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A -X]
                no-A inverted
                A primary
                X alias
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map -A --> (-A)
        map -X --> (-X)
        para (no-A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A -X]
                no-A primary
                A inverted
                X alias
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map -A --> (-A)
        map -X --> (-X)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A -X]
                no-A primary
                A inverted
                X inverted
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: '0'
            flags [--no-A -A]


            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: '2'
            flags [-A]

            ge ()
            va (::cmdr::validate::integer)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'X'
            flags [-A]

            ge ()
            va (::cmdr::validate::identity)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            no default
            flags [-A]

            ge (G)
            va (::cmdr::validate::identity)
            wd ()
        }
    }
}

................................................................................
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, interact, immediate
            default: 'no'
            prompt: 'Enter A: '
            flags [--no-A -A]


            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, splat, optional, silent, immediate
            default: ''
            flags [--no-A -A]


            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: '0'
            flags [-A]

            ge ()
            va (::cmdr::validate::integer)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: ''
            flags [-A]

            ge ()
            va (::cmdr::validate::identity)
            wd ()
        }
    }
}

................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A]


            ge ()
            va (::cmdr::validate::boolean)
            wd (X)
        }
    }
}







|
|
|







 







|
|
|







 







|
|
|







 







>
>







 







>







 







>







 







>







 







>
>







 







>
>







 







>







 







>







 







>
>







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
..
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
...
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
...
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
...
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
...
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
...
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
...
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
...
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
...
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
...
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
...
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
        map -A --> (-A)
        map -X --> (-X)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A -X]
                --no-A = inverted
                -A = primary
                -X = alias
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map -A --> (-A)
        map -X --> (-X)
        para (no-A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A -X]
                --no-A = primary
                -A = inverted
                -X = alias
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map -A --> (-A)
        map -X --> (-X)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A -X]
                --no-A = inverted
                -A = primary
                -X = inverted
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: '0'
            flags [--no-A -A]
                --no-A = inverted
                -A = primary
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: '2'
            flags [-A]
                -A = primary
            ge ()
            va (::cmdr::validate::integer)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'X'
            flags [-A]
                -A = primary
            ge ()
            va (::cmdr::validate::identity)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            no default
            flags [-A]
                -A = primary
            ge (G)
            va (::cmdr::validate::identity)
            wd ()
        }
    }
}

................................................................................
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, interact, immediate
            default: 'no'
            prompt: 'Enter A: '
            flags [--no-A -A]
                --no-A = inverted
                -A = primary
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, splat, optional, silent, immediate
            default: ''
            flags [--no-A -A]
                --no-A = inverted
                -A = primary
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: '0'
            flags [-A]
                -A = primary
            ge ()
            va (::cmdr::validate::integer)
            wd ()
        }
    }
}

................................................................................
        option (-A) = A
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: ''
            flags [-A]
                -A = primary
            ge ()
            va (::cmdr::validate::identity)
            wd ()
        }
    }
}

................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: '-'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A]
                --no-A = inverted
                -A = primary
            ge ()
            va (::cmdr::validate::boolean)
            wd (X)
        }
    }
}

Changes to tests/private.tests.

52
53
54
55
56
57
58


59
60
61
62
63
64
65
...
236
237
238
239
240
241
242


243
244
245
246
247
248
249
            wd ()
        }
        para (OPTION) {
            description: 'OPTION-DESC'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-OPTION --OPTION]


            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
        para (STATE) {
            description: 'STATE-DESC'
            unordered, hidden, single, required, silent, defered
................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: 'D'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A]


            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}







>
>







 







>
>







52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
...
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
            wd ()
        }
        para (OPTION) {
            description: 'OPTION-DESC'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-OPTION --OPTION]
                --no-OPTION = inverted
                --OPTION = primary
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
        para (STATE) {
            description: 'STATE-DESC'
            unordered, hidden, single, required, silent, defered
................................................................................
        map --no-A --> (--no-A)
        map -A --> (-A)
        para (A) {
            description: 'D'
            unordered, cmdline, single, optional, silent, immediate
            default: 'no'
            flags [--no-A -A]
                --no-A = inverted
                -A = primary
            ge ()
            va (::cmdr::validate::boolean)
            wd ()
        }
    }
}