| 1 | #!/usr/bin/env -S v -raw-vsh-tmp-prefix tmp |
| 2 | |
| 3 | // This script is used by cmd/tools/vretry_test.v, to check that the `v retry` |
| 4 | // subcommand works as expected, without relying on external commands like |
| 5 | // `git`, or on non portable ones like `true`/`false` or `echo`. |
| 6 | |
| 7 | fn main() { |
| 8 | args := arguments()#[1..] |
| 9 | println(args) |
| 10 | if args == ['too', 'many', 'arguments'] { |
| 11 | exit(1) |
| 12 | } |
| 13 | } |
| 14 |