Commit f48239aa authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Don't prompt yes/no upon remove if run with -quiet option

for Andre
parent ed2444f5
...@@ -2598,7 +2598,7 @@ function main() ...@@ -2598,7 +2598,7 @@ function main()
} }
alert("This command will remove '" + optval[cmd] + alert("This command will remove '" + optval[cmd] +
"' from the local " + (remote ? "and remote ":"") + "database"); "' from the local " + (remote ? "and remote ":"") + "database");
if(deny("Are you sure")) if(!quiet && deny("Are you sure"))
break; break;
var index = lib.system_index(list, optval[cmd]); var index = lib.system_index(list, optval[cmd]);
if(index < 0) { if(index < 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment