Lines 267-279
Link Here
|
267 |
die_invalid_option() { |
267 |
die_invalid_option() { |
268 |
# We cannot use eerror and einfo because this gets called before function.sh |
268 |
# We cannot use eerror and einfo because this gets called before function.sh |
269 |
# is sourced |
269 |
# is sourced |
270 |
print_usage |
|
|
271 |
echo |
270 |
echo |
272 |
echo "Encountered unrecognized option $1." >&2 |
271 |
echo "Encountered unrecognized option $1." >&2 |
273 |
echo |
272 |
echo |
274 |
echo "$APP_NAME no longer automatically passes unrecognized options to portage." |
273 |
echo "$APP_NAME no longer automatically passes unrecognized options to portage." |
275 |
echo "Separate emerge-only options from revdep-rebuild options with the -- flag." |
274 |
echo "Separate emerge-only options from revdep-rebuild options with the -- flag." |
276 |
echo |
275 |
echo |
|
|
276 |
echo "For example, $APP_NAME -v -- --ask" |
277 |
echo |
278 |
echo "See the man page or $APP_NAME -h for more detail." |
279 |
echo |
277 |
exit 1 |
280 |
exit 1 |
278 |
} |
281 |
} |
279 |
|
282 |
|