blob: 57920a85c39c072e6a4e0585b057d09917d47864 [file] [log] [blame]
Neels Hofmeyrfaa49e22019-01-31 09:06:53 +01001vty_transcript_test> list
2...
3 multi0 (one|two|three)
4 multi1 ([one]|[two]|[three])
Neels Hofmeyrb55f4d22019-01-31 08:13:31 +01005 multi2 [(one|two|three)]
Neels Hofmeyrfaa49e22019-01-31 09:06:53 +01006
7vty_transcript_test> multi0 ?
8 one 1
9 two 2
10 three 3
11
12vty_transcript_test> multi0 one
13ok argc=1 one
14
15vty_transcript_test> multi0 two
16ok argc=1 two
17
18vty_transcript_test> multi0 o
19ok argc=1 o
20
21vty_transcript_test> multi0 t
22ok argc=1 t
23
24vty_transcript_test> multi0 th
25ok argc=1 th
26
27vty_transcript_test> multi0
28% Command incomplete.
29
30vty_transcript_test> multi1 ?
31 [one] 1
32 [two] 2
33 [three] 3
34
35vty_transcript_test> multi1 one
36ok argc=1 one
37
38vty_transcript_test> multi1 two
39ok argc=1 two
40
41vty_transcript_test> multi1 o
42ok argc=1 o
43
44vty_transcript_test> multi1 t
45ok argc=1 t
46
47vty_transcript_test> multi1 th
48ok argc=1 th
49
50vty_transcript_test> multi1
Neels Hofmeyrc1978092019-01-31 08:14:26 +010051ok argc=0
Neels Hofmeyrfaa49e22019-01-31 09:06:53 +010052
53vty_transcript_test> multi1 [one]
54% Unknown command.
Neels Hofmeyrb55f4d22019-01-31 08:13:31 +010055
56vty_transcript_test> multi2 ?
57 [one] 1
58 [two] 2
59 [three] 3
60
61vty_transcript_test> multi2 one
62ok argc=1 one
63
64vty_transcript_test> multi2 two
65ok argc=1 two
66
67vty_transcript_test> multi2
68ok argc=0