chaos / scrub

disk overwrite utility
GNU General Public License v2.0
71 stars 22 forks source link

Output error message when -D does not have an argument #16

Closed pete4abw closed 3 years ago

pete4abw commented 5 years ago

Minor omission. When -D option is specified, it does require a rename argument for files. However, if an argument is missing, the program will just show usage(1) without explaining why nothing was scrubbed. A Dopt flag variable is used and set when -D is detected so that error can be properly reported.

garlick commented 3 years ago

Sorry @pete4abw, this is totally reasonable. Sorry I let it get so stale.