version 1.23, 2014/04/14 22:51:20 |
version 1.24, 2014/04/15 15:35:24 |
|
|
deprecated = 1; |
deprecated = 1; |
argv = *argvp; |
argv = *argvp; |
while ((ch = getopt(argc, argv, |
while ((ch = getopt(argc, argv, |
"A:aBbcDdeFfHhIij:LlN:Oot:vXx")) != -1) |
"A:aBbcDdeFfHhIij:LlN:Oost:vXx")) != -1) |
switch (ch) { |
switch (ch) { |
case 'A': |
case 'A': |
switch (*optarg) { |
switch (*optarg) { |
|
|
case 'O': |
case 'O': |
odadd("4/4 \" %011o \" \"\\n\""); |
odadd("4/4 \" %011o \" \"\\n\""); |
break; |
break; |
|
case 's': |
|
odadd("8/2 \" %05d \" \"\\n\""); |
|
break; |
case 't': |
case 't': |
posixtypes(optarg); |
posixtypes(optarg); |
break; |
break; |
|
|
oldusage(void) |
oldusage(void) |
{ |
{ |
extern char *__progname; |
extern char *__progname; |
fprintf(stderr, "usage: %s [-aBbcDdeFfHhIiLlOovXx] [-A base] " |
fprintf(stderr, "usage: %s [-aBbcDdeFfHhIiLlOosvXx] [-A base] " |
"[-j offset] [-N length]\n" |
"[-j offset] [-N length]\n" |
"\t[-t type_string] [[+]offset[.][Bb]] [file ...]\n", __progname); |
"\t[-t type_string] [[+]offset[.][Bb]] [file ...]\n", __progname); |
exit(1); |
exit(1); |