mountpoint: style, order flags

This commit is contained in:
Hiltjo Posthuma 2015-05-10 12:17:47 +02:00 committed by sin
parent d988f01f0f
commit 06e895a67d

View File

@ -19,19 +19,19 @@ usage(void)
int int
main(int argc, char *argv[]) main(int argc, char *argv[])
{ {
int qflag = 0, dflag = 0, xflag = 0; int dflag = 0, qflag = 0, xflag = 0;
int ret = 0;
struct mntent *me = NULL; struct mntent *me = NULL;
FILE *fp; FILE *fp;
int ret = 0;
struct stat st1, st2; struct stat st1, st2;
ARGBEGIN { ARGBEGIN {
case 'q':
qflag = 1;
break;
case 'd': case 'd':
dflag = 1; dflag = 1;
break; break;
case 'q':
qflag = 1;
break;
case 'x': case 'x':
xflag = 1; xflag = 1;
break; break;