mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
walk: error on mutually exclusive flags
This commit is contained in:
parent
b8797a1cc6
commit
d1b72a27b7
1 changed files with 3 additions and 0 deletions
|
@ -266,6 +266,9 @@ main(int argc, char **argv)
|
|||
usage();
|
||||
}ARGEND;
|
||||
|
||||
if(!printfiles && !printdirs)
|
||||
sysfatal("mutually exclusive flags: -f and -d");
|
||||
|
||||
fmtinstall('M', dirmodefmt);
|
||||
|
||||
if((bout = Bfdopen(1, OWRITE)) == nil)
|
||||
|
|
Loading…
Reference in a new issue