commit 06e895a67d6bf8ded3c084a6b26856cd856d8d3d
parent d988f01f0f403e66d4a4597e909932c9989e45d6
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 10 May 2015 12:17:47 +0200
mountpoint: style, order flags
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/mountpoint.c b/mountpoint.c
@@ -19,19 +19,19 @@ usage(void)
int
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;
FILE *fp;
- int ret = 0;
struct stat st1, st2;
ARGBEGIN {
- case 'q':
- qflag = 1;
- break;
case 'd':
dflag = 1;
break;
+ case 'q':
+ qflag = 1;
+ break;
case 'x':
xflag = 1;
break;