configure: Show the option in case it is not known
PATCH 1/1 configure: Show the option in case it is not known
When mis-typing one of the options of the configure script, it shows you the list of valid options, but does not tell you which option was wrong. Then it can take a while until you figured out where the typo is. Let's help the user here a little bit by printing which option had not been understood.
Signed-off-by Thomas Huth <[email protected]>
--- configure | 2 ++ 1 file changed, 2 insertions(+)
configure +2 -0
@@ -178,6 +178,8 @@ while [[ "$1" = -* ]]; do usage ;; *) + echo "Unknown option '$opt'" + echo usage ;; esac
Signature · 1 line
2.31.1
Quoted 10 lines · Thomas Huth
When mis-typing one of the options of the configure script, it shows you the list of valid options, but does not tell you which option was wrong. Then it can take a while until you figured out where the typo is. Let's help the user here a little bit by printing which option had not been understood.
Signed-off-by Thomas Huth <[email protected]>--- configure | 2 ++ 1 file changed, 2 insertions(+)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>