Deleted Added
full compact
47c47
< __FBSDID("$FreeBSD: head/usr.bin/cap_mkdb/cap_mkdb.c 142109 2005-02-19 23:59:49Z ru $");
---
> __FBSDID("$FreeBSD: head/usr.bin/cap_mkdb/cap_mkdb.c 142262 2005-02-22 23:29:54Z ru $");
87c87
< int c;
---
> int byteorder, c;
90c90,91
< while ((c = getopt(argc, argv, "f:v")) != -1) {
---
> byteorder = 0;
> while ((c = getopt(argc, argv, "bf:lv")) != -1) {
91a93,98
> case 'b':
> case 'l':
> if (byteorder != 0)
> usage();
> byteorder = c == 'b' ? 4321 : 1234;
> break;
108a116,118
> /* Set byte order. */
> openinfo.lorder = byteorder;
>
260c270
< "usage: cap_mkdb [-v] [-f outfile] file [file ...]\n");
---
> "usage: cap_mkdb [-b | -l] [-v] [-f outfile] file ...\n");