This possibly improves the usability of chattr for some typical use cases: Command         : Old  : New behavior ================================================ chattr -h       : help : help chattr -h FILE  : help : chattr -- -h -- FILE chattr -hs FILE : help : chattr -- -h -s -- FILE chattr -sh FILE : fail : chattr -- -s -h -- FILE chattr -ar FILE : fail : chattr -- -a -r -- FILE Unrelated: there a two trivial block-copied-but-not-changed issues: $ egrep 'ACL|--r' chattr.c           "Get POSIX ACL information\n"       "  -R, --recursive     recursively list attributes of directories and their \n" Regards, Christian