add -g option to `bw nodes`