v vet: give an error for trailing whitespace (#9574)

This commit is contained in:
Lukas Neubert 2021-04-09 12:22:14 +02:00 committed by GitHub
parent ddb2e72301
commit 46e7e27ba3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 67 additions and 20 deletions

View file

@ -54,7 +54,7 @@ fn main() {
if '-h' in args || '--help' in args {
println("Usage:
test_os_process [-v] [-h] [-target stderr/stdout/both/alternate] [-exitcode 0] [-timeout_ms 200] [-period_ms 50]
Prints lines periodically (-period_ms), to stdout/stderr (-target).
Prints lines periodically (-period_ms), to stdout/stderr (-target).
After a while (-timeout_ms), exit with (-exitcode).
This program is useful for platform independent testing
of child process/standart input/output control.