Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'affcat -b' does not work #56

Closed
chrfranke opened this issue Mar 23, 2024 · 1 comment
Closed

'affcat -b' does not work #56

chrfranke opened this issue Mar 23, 2024 · 1 comment

Comments

@chrfranke
Copy link

$ affcat -b file.aff
affcat: unknown option -- b
affcat version 3.7.20
...
    -b      --- Output BADFALG for bad blocks (default is NULLs)
...

The reason is quite obvious: 'b' is missing in the getopt() string:

    while ((ch = getopt(argc, argv, "s:S:p:lLh?dqnvr:")) != -1) {
      ...
	case 'b':
	    opt_badflag = 1;
	    break;
      ...
    }

Apparently never tested since the early days :-)

@sshock
Copy link
Owner

sshock commented Mar 23, 2024

Apparently never tested since the early days :-)

Yeah, very interesting. Alright, well I'll go ahead and allow it to work.

@sshock sshock closed this as completed in 6494d53 Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants