dj(1): fix getopt optstring
This commit is contained in:
parent
48c6ad1252
commit
271510476c
2
src/dj.c
2
src/dj.c
@ -329,7 +329,7 @@ int main(int argc, char *argv[]){
|
|||||||
|
|
||||||
if(argc > 0){
|
if(argc > 0){
|
||||||
program_name = argv[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){
|
switch(c){
|
||||||
case 'i': case 'o':
|
case 'i': case 'o':
|
||||||
i = (c == 'o');
|
i = (c == 'o');
|
||||||
|
Loading…
Reference in New Issue
Block a user