I would like to thank you for your work on xdg-menu.
I use xdg-menu in a non-rox environment and the popup dialog reminding me to "run it in as a rox panel" is a bit of annoyance for me.
As such I'd like to submit this modification for your consideration.
I added --help flag, which prints out usage and a --as-app parameter which would avoid dialog popup.
Please let me know if you would add it to the tree.