# linux – BSPWM gives an error whilst executing the command as expected

Whenever I execute the following command in my terminal

bspc node -t "~"{floating,tiled}


I get the expected behavior of cycling through the floating and tilted modes for the elected window. However, I get the following error in my terminal:

node: Unknown command: '~tiled'.


The even weirder thing is that whenever I set up this command with sxhkd, I no longer get any effect. Could anybody help me understand what is wrong with the command.

Question: What is wrong with the command and why do I get the expected behaviour even if there is an error in the command?