CLI: Fix getopt program names

these are output by getopt in error messages
This commit is contained in:
zzz
2024-06-05 09:05:51 -04:00
parent 5c8ddbe26a
commit a0f92b2e28
5 changed files with 6 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ import net.i2p.util.FileUtil;
public class BundleRouterInfos {
/**
* Usage: PersistentDataStore -i configDir -o toDir -c count
* Usage: BundleRouterInfos -i configDir -o toDir -c count
*
* Copy a random selection of 'count' router infos from configDir/netDb
* to 'toDir'. Skip your own router info, and old, hidden, unreachable, and
@@ -55,7 +55,7 @@ public class BundleRouterInfos {
* @since 0.9.15
*/
public static void main(String[] args) {
Getopt g = new Getopt("PersistentDataStore", args, "i:o:c:");
Getopt g = new Getopt("BundleRouterInfos", args, "i:o:c:");
String in = System.getProperty("user.home") + "/.i2p";
String out = "netDb";
int count = 200;