summaryrefslogtreecommitdiffstats
path: root/tests/vty/vty_transcript_test.vty
blob: 57920a85c39c072e6a4e0585b057d09917d47864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
vty_transcript_test> list
...
  multi0 (one|two|three)
  multi1 ([one]|[two]|[three])
  multi2 [(one|two|three)]

vty_transcript_test> multi0 ?
  one    1
  two    2
  three  3

vty_transcript_test> multi0 one
ok argc=1 one

vty_transcript_test> multi0 two
ok argc=1 two

vty_transcript_test> multi0 o
ok argc=1 o

vty_transcript_test> multi0 t
ok argc=1 t

vty_transcript_test> multi0 th
ok argc=1 th

vty_transcript_test> multi0
% Command incomplete.

vty_transcript_test> multi1 ?
  [one]    1
  [two]    2
  [three]  3

vty_transcript_test> multi1 one
ok argc=1 one

vty_transcript_test> multi1 two
ok argc=1 two

vty_transcript_test> multi1 o
ok argc=1 o

vty_transcript_test> multi1 t
ok argc=1 t

vty_transcript_test> multi1 th
ok argc=1 th

vty_transcript_test> multi1
ok argc=0

vty_transcript_test> multi1 [one]
% Unknown command.

vty_transcript_test> multi2 ?
  [one]    1
  [two]    2
  [three]  3

vty_transcript_test> multi2 one
ok argc=1 one

vty_transcript_test> multi2 two
ok argc=1 two

vty_transcript_test> multi2
ok argc=0