mountpoint: style, order flags
This commit is contained in:
parent
d988f01f0f
commit
06e895a67d
10
mountpoint.c
10
mountpoint.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user