You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the following program resulted in no output:
#! /usr/bin/env node
vardocopt=require('docopt');vardoc='Usage:\n\n'+' test.js [options] [<example-name>...]\n'+'Options:\n'+' --url=url URL to run the tests on.\n';varoptions=docopt.docopt(doc);
I removed the second \n from the first line of the usage string, then the message was output as I expected when I ran the program.
This is with docopt 0.4.1, installed via npm.
The text was updated successfully, but these errors were encountered:
Running the following program resulted in no output:
I removed the second
\n
from the first line of the usage string, then the message was output as I expected when I ran the program.This is with docopt 0.4.1, installed via npm.
The text was updated successfully, but these errors were encountered: