Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 1 | vty_transcript_test> list |
| 2 | ... |
| 3 | multi0 (one|two|three) |
| 4 | multi1 ([one]|[two]|[three]) |
Neels Hofmeyr | b55f4d2 | 2019-01-31 08:13:31 +0100 | [diff] [blame] | 5 | multi2 [(one|two|three)] |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 6 | |
| 7 | vty_transcript_test> multi0 ? |
| 8 | one 1 |
| 9 | two 2 |
| 10 | three 3 |
| 11 | |
| 12 | vty_transcript_test> multi0 one |
| 13 | ok argc=1 one |
| 14 | |
| 15 | vty_transcript_test> multi0 two |
| 16 | ok argc=1 two |
| 17 | |
| 18 | vty_transcript_test> multi0 o |
Pau Espin Pedrol | 7e1b03f | 2019-06-12 14:47:48 +0200 | [diff] [blame] | 19 | ok argc=1 one |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 20 | |
| 21 | vty_transcript_test> multi0 t |
Pau Espin Pedrol | 6df2e44 | 2019-06-11 21:19:46 +0200 | [diff] [blame] | 22 | % Ambiguous command. |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 23 | |
| 24 | vty_transcript_test> multi0 th |
Pau Espin Pedrol | 7e1b03f | 2019-06-12 14:47:48 +0200 | [diff] [blame] | 25 | ok argc=1 three |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 26 | |
| 27 | vty_transcript_test> multi0 |
| 28 | % Command incomplete. |
| 29 | |
| 30 | vty_transcript_test> multi1 ? |
| 31 | [one] 1 |
| 32 | [two] 2 |
| 33 | [three] 3 |
| 34 | |
| 35 | vty_transcript_test> multi1 one |
| 36 | ok argc=1 one |
| 37 | |
| 38 | vty_transcript_test> multi1 two |
| 39 | ok argc=1 two |
| 40 | |
| 41 | vty_transcript_test> multi1 o |
Pau Espin Pedrol | 7e1b03f | 2019-06-12 14:47:48 +0200 | [diff] [blame] | 42 | ok argc=1 one |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 43 | |
| 44 | vty_transcript_test> multi1 t |
Pau Espin Pedrol | 6df2e44 | 2019-06-11 21:19:46 +0200 | [diff] [blame] | 45 | % Ambiguous command. |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 46 | |
| 47 | vty_transcript_test> multi1 th |
Pau Espin Pedrol | 7e1b03f | 2019-06-12 14:47:48 +0200 | [diff] [blame] | 48 | ok argc=1 three |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 49 | |
| 50 | vty_transcript_test> multi1 |
Neels Hofmeyr | c197809 | 2019-01-31 08:14:26 +0100 | [diff] [blame] | 51 | ok argc=0 |
Neels Hofmeyr | faa49e2 | 2019-01-31 09:06:53 +0100 | [diff] [blame] | 52 | |
| 53 | vty_transcript_test> multi1 [one] |
| 54 | % Unknown command. |
Neels Hofmeyr | b55f4d2 | 2019-01-31 08:13:31 +0100 | [diff] [blame] | 55 | |
| 56 | vty_transcript_test> multi2 ? |
| 57 | [one] 1 |
| 58 | [two] 2 |
| 59 | [three] 3 |
| 60 | |
| 61 | vty_transcript_test> multi2 one |
| 62 | ok argc=1 one |
| 63 | |
| 64 | vty_transcript_test> multi2 two |
| 65 | ok argc=1 two |
| 66 | |
| 67 | vty_transcript_test> multi2 |
| 68 | ok argc=0 |
Vadim Yanitskiy | 8c9befe | 2019-06-01 00:10:44 +0700 | [diff] [blame] | 69 | |
| 70 | vty_transcript_test> multi0 thr |
Pau Espin Pedrol | 7e1b03f | 2019-06-12 14:47:48 +0200 | [diff] [blame] | 71 | ok argc=1 three |
Vadim Yanitskiy | 8c9befe | 2019-06-01 00:10:44 +0700 | [diff] [blame] | 72 | |
| 73 | vty_transcript_test> multi1 on |
Pau Espin Pedrol | 7e1b03f | 2019-06-12 14:47:48 +0200 | [diff] [blame] | 74 | ok argc=1 one |
Vadim Yanitskiy | 8c9befe | 2019-06-01 00:10:44 +0700 | [diff] [blame] | 75 | |
| 76 | vty_transcript_test> multi2 t |
Pau Espin Pedrol | 6df2e44 | 2019-06-11 21:19:46 +0200 | [diff] [blame] | 77 | % Ambiguous command. |
Pau Espin Pedrol | 14aadd5 | 2019-06-12 18:34:34 +0200 | [diff] [blame] | 78 | |
| 79 | vty_transcript_test> single0 one |
| 80 | ok argc=1 one |
| 81 | |
| 82 | vty_transcript_test> single0 on |
Pau Espin Pedrol | 32e6710 | 2019-06-12 18:35:46 +0200 | [diff] [blame] | 83 | ok argc=1 one |
Pau Espin Pedrol | 14aadd5 | 2019-06-12 18:34:34 +0200 | [diff] [blame] | 84 | |
| 85 | vty_transcript_test> single0 |
| 86 | ok argc=0 |