1
0
forked from bonsai/harakit

dj(1): fix getopt optstring

This commit is contained in:
dtb 2024-01-29 22:33:04 -07:00
parent 48c6ad1252
commit 271510476c
Signed by untrusted user: trinity
GPG Key ID: 31FF85CCB6DC7641

View File

@ -329,7 +329,7 @@ int main(int argc, char *argv[]){
if(argc > 0){
program_name = argv[0];
while((c = getopt(argc, argv, "a:Ab:B:c:di:fhHqs:S:o:")) != -1)
while((c = getopt(argc, argv, "a:Ab:B:c:di:hHnqs:S:o:")) != -1)
switch(c){
case 'i': case 'o':
i = (c == 'o');