|
Lines 40-45
Link Here
|
| 40 |
fprintf(stderr," -f salvage unused chains to files\n"); |
40 |
fprintf(stderr," -f salvage unused chains to files\n"); |
| 41 |
fprintf(stderr," -l list path names\n"); |
41 |
fprintf(stderr," -l list path names\n"); |
| 42 |
fprintf(stderr," -n no-op, check non-interactively without changing\n"); |
42 |
fprintf(stderr," -n no-op, check non-interactively without changing\n"); |
|
|
43 |
fprintf(stderr," -p same as -a, for compat with other *fsck\n"); |
| 43 |
fprintf(stderr," -r interactively repair the file system\n"); |
44 |
fprintf(stderr," -r interactively repair the file system\n"); |
| 44 |
fprintf(stderr," -t test for bad clusters\n"); |
45 |
fprintf(stderr," -t test for bad clusters\n"); |
| 45 |
fprintf(stderr," -u path try to undelete that (non-directory) file\n"); |
46 |
fprintf(stderr," -u path try to undelete that (non-directory) file\n"); |
|
Lines 91-102
Link Here
|
| 91 |
interactive = 1; |
92 |
interactive = 1; |
| 92 |
check_atari(); |
93 |
check_atari(); |
| 93 |
|
94 |
|
| 94 |
while ((c = getopt(argc,argv,"Aad:flnrtu:vVwy")) != EOF) |
95 |
while ((c = getopt(argc,argv,"Aad:flnprtu:vVwy")) != EOF) |
| 95 |
switch (c) { |
96 |
switch (c) { |
| 96 |
case 'A': /* toggle Atari format */ |
97 |
case 'A': /* toggle Atari format */ |
| 97 |
atari_format = !atari_format; |
98 |
atari_format = !atari_format; |
| 98 |
break; |
99 |
break; |
| 99 |
case 'a': |
100 |
case 'a': |
|
|
101 |
case 'p': |
| 100 |
case 'y': |
102 |
case 'y': |
| 101 |
rw = 1; |
103 |
rw = 1; |
| 102 |
interactive = 0; |
104 |
interactive = 0; |