diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-15 17:27:19 +0300 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-15 17:27:29 +0300 |
| commit | b2436ef9390b9dddb9c010eec5caca40400f8c8b (patch) | |
| tree | 43c356dfeb5060066b4bd4b64ea06b1615a07f85 /test/echo.cpp | |
| parent | WIP: add simple Process class (diff) | |
| download | winapi-common-b2436ef9390b9dddb9c010eec5caca40400f8c8b.tar.gz winapi-common-b2436ef9390b9dddb9c010eec5caca40400f8c8b.zip | |
rename utility "args" to "echo"
Diffstat (limited to '')
| -rw-r--r-- | test/echo.cpp (renamed from test/args.cpp) | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/args.cpp b/test/echo.cpp index 470819a..6d6e6df 100644 --- a/test/args.cpp +++ b/test/echo.cpp @@ -3,10 +3,12 @@ // For details, see https://github.com/egor-tensin/winapi-common. // Distributed under the MIT License. +// Simple UTF-16 echo. + #include <iostream> int wmain(int argc, wchar_t* argv[]) { - for (int i = 0; i < argc; ++i) { + for (int i = 1; i < argc; ++i) { std::wcout << argv[i] << L'\n'; } return 0; |
