DDNet.exe -f mySecondConfig.cfg
, can also be specified in shortcut/Applications/DDNet2.app/Contents/MacOS/DDNet -f /Library/Application\ Support/Teeworlds/settings_ddnet2.cfg
works on macos, in case somebody searches for this later.
What do you mean by 'in shortcut' though? Just curious.