diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/du.c | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -625,18 +625,15 @@ main (int argc, char **argv) break; case 'D': /* This will eventually be 'H' (-H), too. */ - bit_flags |= FTS_COMFOLLOW; + bit_flags = FTS_COMFOLLOW; break; - case 'P': /* --no-dereference */ - bit_flags |= FTS_PHYSICAL; - bit_flags &= ~FTS_LOGICAL; - bit_flags &= ~FTS_COMFOLLOW; + case 'L': /* --dereference */ + bit_flags = FTS_LOGICAL; break; - case 'L': /* --dereference */ - bit_flags |= FTS_LOGICAL; - bit_flags &= ~FTS_PHYSICAL; + case 'P': /* --no-dereference */ + bit_flags = FTS_PHYSICAL; break; case 'S': |