manet icon indicating copy to clipboard operation
manet copied to clipboard

Expressing whitelist args on the command line

Open scottcain opened this issue 7 years ago • 0 comments

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.

scottcain avatar Mar 10 '17 16:03 scottcain