* src/chown-core.h (emit_from_option_description): The conditional
string composition here caused issues for translators.
Instead move to a more general description ...
(src/chown.c (usage): ... here.
Fixes https://bugs.gnu.org/69985
src/chcon.c
src/chmod.c
src/chown-core.c
-src/chown-core.h
src/chown.c
src/chroot.c
src/cksum.c
struct Chown_option const *chopt)
_GL_ATTRIBUTE_NONNULL ();
-static inline void
-emit_from_option_description (bool user)
-{
- printf (_("\
- --from=CURRENT_OWNER:CURRENT_GROUP\n\
- change the %sgroup of each file only if\n\
- its current owner and/or group match those specified\n\
- here. Either may be omitted, in which case a match\n\
- is not required for the omitted attribute\n\
-"), user ? "owner and/or " : "");
-}
-
#endif /* CHOWN_CORE_H */
(useful only on systems that can change the\n\
ownership of a symlink)\n\
"), stdout);
- emit_from_option_description (chown_mode == CHOWN_CHOWN);
+ fputs (_("\
+ --from=CURRENT_OWNER:CURRENT_GROUP\n\
+ change the ownership of each file only if\n\
+ its current owner and/or group match those specified\n\
+ here. Either may be omitted, in which case a match\n\
+ is not required for the omitted attribute\n\
+"), stdout);
fputs (_("\
--no-preserve-root do not treat '/' specially (the default)\n\
--preserve-root fail to operate recursively on '/'\n\