I would like to pass two arguments to an option of a shell command, specifically, for salloc
. I can choose to do either of the following
salloc -n 1 -t 24:00:00 --mail-type=BEGIN
salloc -n 1 -t 24:00:00 --mail-type=TIME_LIMIT_80
where the option mail-type
takes arguments BEGIN
, which emails you when a node is allocated successfully, or the argument TIME_LIMIT_80
, which emails you when your node is approaching 80% of its time limit.
However, I would like it to do both. How can I instruct mail-type
to take both BEGIN
and TIME_LIMIT_80
?
Thank you in advance!
BEGIN
andTIME_LIMIT_80
, I just totally overlooked the multiple type part. Please feel free to close the question if necessary. Thanks!