Absolutely intentional.  It amounts to a printf() statement, you see, and if you want a literal percent sign in a printf() format, you must double the %.  It took me a while to read correctly the error message I got for that.