OSDN Git Service

merge_config.sh: Display usage if given too few arguments
[uclinux-h8/linux.git] / scripts / kconfig / merge_config.sh
index 81b0c61..2ab91b9 100755 (executable)
@@ -77,6 +77,11 @@ while true; do
        esac
 done
 
+if [ "$#" -lt 2 ] ; then
+       usage
+       exit
+fi
+
 INITFILE=$1
 shift;