From 9fbd5ef63087f0825ef9903e05a8afdc6b76166f Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 18 Aug 2013 16:12:28 -0500 Subject: Use OPTSTR_command macro for more oldtoys, to avoid keeping two option strings in sync. (todo: figure out how to make OLDTOY() automatically use macro. Still need the raw version for subset ala cp/mv though.) --- toys/posix/chgrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toys/posix/chgrp.c') diff --git a/toys/posix/chgrp.c b/toys/posix/chgrp.c index 0a314c2a..c53ea21d 100644 --- a/toys/posix/chgrp.c +++ b/toys/posix/chgrp.c @@ -8,7 +8,7 @@ * TODO: group only one of [HLP] USE_CHGRP(NEWTOY(chgrp, "<2hPLHRfv", TOYFLAG_BIN)) -USE_CHGRP(OLDTOY(chown, chgrp, "<2hPLHRfv", TOYFLAG_BIN)) +USE_CHGRP(OLDTOY(chown, chgrp, OPTSTR_chgrp, TOYFLAG_BIN)) config CHGRP bool "chgrp/chown" -- cgit v1.2.3