Changed short form for option “excludedead” from “-d” to “-E”

This commit is contained in:
pezcurrel 2022-12-02 06:04:25 +01:00
parent d73097a3d9
commit fb357a12d4

View file

@ -76,10 +76,12 @@ $help='peerscrawl.php
Note: if you want localized format as well set LANG environment variable.
-L, --tzlist
List all valid timezones and exit.
-E, --excludedead
Exclude instances marked as "Dead" in the database.
-v, --verbose
Be more verbose.
-d, --excludedead
Exclude instances marked as "Dead" in the database.
-h, --help
Show this help text and exit.
This program comes with ABSOLUTELY NO WARRANTY; for details see the source.
This is free software, and you are welcome to redistribute it under
@ -145,14 +147,14 @@ for ($i=1; $i<$argc; $i++) {
gecho($val.N,false,false);
exit(0);
break;
case '-E':
case '--excludedead':
$opts['excludedead']=true;
break;
case '-v':
case '--verbose':
$opts['verbose']=true;
break;
case '-d':
case '--excludedead':
$opts['excludedead']=true;
break;
case '-h':
case '--help':
mexit($help,0);