Skip to content

Commit b2a9851

Browse files
authored
vreduce: change -e option name to -m, to avoid a conflict with V's -e option name (#25340)
1 parent 23602c1 commit b2a9851

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cmd/tools/vreduce.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fn main() {
1919
fp.description('This tool will reduce the code file and try to make the smallest one it can that reproduces the error when the command is executed')
2020
fp.version(version)
2121

22-
error_msg := fp.string('error_msg', `e`, default_error_msg, 'the error message you want to reproduce, default: \'${default_error_msg}\'')
22+
error_msg := fp.string('error_msg', `m`, default_error_msg, 'the error message you want to reproduce, default: \'${default_error_msg}\'')
2323
mut command := fp.string('command', `c`, default_command, 'the command used to try to reproduce the error, default: \'${default_command}\', will replace PATH with the path of the folder where it is run')
2424
copy_project := fp.bool('cp', `p`, false, 'if used v reduce will copy the whole folder of the project')
2525
timeout := fp.int('to', `t`, 0, 'sets a timeout for the command, default=0 : no timeout')

0 commit comments

Comments
 (0)