diff options
author | Rob Landley <rob@landley.net> | 2013-08-18 16:12:28 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-08-18 16:12:28 -0500 |
commit | 9fbd5ef63087f0825ef9903e05a8afdc6b76166f (patch) | |
tree | ee7e2126c33b4eefd8afbe972b1b6e75ef159360 /toys/posix/chgrp.c | |
parent | 270483405021e237f54ffe6d02eecf11744fd1aa (diff) | |
download | toybox-9fbd5ef63087f0825ef9903e05a8afdc6b76166f.tar.gz |
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.)
Diffstat (limited to 'toys/posix/chgrp.c')
-rw-r--r-- | toys/posix/chgrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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" |