Solving launchctl load “nothing found to load” error

Today I was playing with OSX launchctl command, in order to autoload a program using a simple and human-readable XML file (.plist).
Initially my command (sudo launchctl load /path/to/myplist.plist) was giving back an error message “nothing found to load” and I thought it was a bad configuration in the plist, so I checked every path and every settings I specified in it and I realized it was ok… so using the manual (man launchctl) I looked for helpful flags and/or additional help, I then modified the command adding the -F and -w flags and I was able to run my program succesfully. It also started up automatically after a reboot as I wished.
The final command is:

sudo launchctl load -w -F /path/to/myplist.plist

Flags descriptions are the following:

-w Overrides the Disabled key and sets it to false. In previous versions, this option would modify the configuration file. Now the state of the Disabled key is stored elsewhere on-disk.

-F Force the loading of the plist. Ignore the Disabled key.