refactor command-line argument checking to checkFlag() function
refactor command-line argument checking to checkFlag() function

emlai/delta,delta-lang/delta,delta-lang/delta,emlai/delta,delta-lang/delta,emlai/delta,delta-lang/delta,emlai/delta