Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expressing whitelist args on the command line #79

Open
scottcain opened this issue Mar 10, 2017 · 0 comments
Open

Expressing whitelist args on the command line #79

scottcain opened this issue Mar 10, 2017 · 0 comments

Comments

@scottcain
Copy link

Hello,

How does one express the arguments for the --whitelist option on the command line? I have tried several things, like:

root@26e3791d4e55:/# manet --whitelist wormbase.org
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist [wormbase.org]
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist (wormbase.org)
bash: syntax error near unexpected token `('
root@26e3791d4e55:/# manet --whitelist {wormbase.org}
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist {[wormbase.org]}
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist {\(wormbase.org\)}
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist staging.wormbase.org,www.wormbase.org
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "staging.wormbase.org,www.wormbase.org"
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "staging.wormbase.org www.wormbase.org"
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "[wormbase.org]"                       
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "{[wormbase.org]}"
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "{\(wormbase.org\)}"
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "[\(wormbase.org\)]"
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "[(wormbase.org)]"
error: "List of allowed sites (RegExps)" must be an array
root@26e3791d4e55:/# manet --whitelist "{(wormbase.org)}"
error: "List of allowed sites (RegExps)" must be an array

and obviously none of them work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant