bash - What does -h option mean in java command line? -
during reading bash script file, see this:
java -cp ${cp} ${class} -h redis > /dev/null 2>&1 &
does have idea "-h" , "redis"?
running "java -h" seems print info, why need print info when running java program background process?
and "redis", know it's database in memory, don't know mean add java command line. mean java first check if process named "redis" exists?
thank you!
any arguments come after class name arguments class' main
static method; not argument java. i.e., ${class}
called yourclass.main(new string[]{"-h", "redis"})
.
Comments
Post a Comment