doc: remove - from command arguments

This commit is contained in:
Joshua Hale
2019-01-30 11:36:48 +00:00
parent b30c9bc571
commit 707f75f7ba

View File

@@ -4,7 +4,7 @@ class Test {
{
String latlonCoords = args[1];
Runtime rt = Runtime.getRuntime();
Process exec = rt.exec("cmd.exe /C latlon2utm.exe -" + latlonCoords);
Process exec = rt.exec("cmd.exe /C latlon2utm.exe " + latlonCoords);
}
// GOOD: use an array of arguments instead of executing a string