{"action":"created","issue":{"url":"https://api.github.com/repos/nmap/nmap/issues/236","labels_url":"https://api.github.com/repos/nmap/nmap/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/nmap/nmap/issues/236/comments","events_url":"https://api.github.com/repos/nmap/nmap/issues/236/events","html_url":"https://github.com/nmap/nmap/issues/236","id":118017559,"number":236,"title":"--quiet or --silent option to remove stdout output","user":{"login":"hackeron","id":578881,"avatar_url":"https://avatars.githubusercontent.com/u/578881?v=3","gravatar_id":"","url":"https://api.github.com/users/hackeron","html_url":"https://github.com/hackeron","followers_url":"https://api.github.com/users/hackeron/followers","following_url":"https://api.github.com/users/hackeron/following{/other_user}","gists_url":"https://api.github.com/users/hackeron/gists{/gist_id}","starred_url":"https://api.github.com/users/hackeron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackeron/subscriptions","organizations_url":"https://api.github.com/users/hackeron/orgs","repos_url":"https://api.github.com/users/hackeron/repos","events_url":"https://api.github.com/users/hackeron/events{/privacy}","received_events_url":"https://api.github.com/users/hackeron/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nmap/nmap/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/nmap/nmap/labels/Nmap","name":"Nmap","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-20T11:09:49Z","updated_at":"2015-11-20T16:46:19Z","closed_at":null,"body":"This is related to this issue: https://github.com/sophsec/ruby-nmap/issues/38\r\n\r\nCan a --quiet or --silent option be added to nmap?\r\n\r\nWhen nmap is used to output to XML in a library like ruby-nmap, it also outputs to that application's standard output making it difficult to diagnose and see desired output."},"comment":{"url":"https://api.github.com/repos/nmap/nmap/issues/comments/158455913","html_url":"https://github.com/nmap/nmap/issues/236#issuecomment-158455913","issue_url":"https://api.github.com/repos/nmap/nmap/issues/236","id":158455913,"user":{"login":"dmiller-nmap","id":10443029,"avatar_url":"https://avatars.githubusercontent.com/u/10443029?v=3","gravatar_id":"","url":"https://api.github.com/users/dmiller-nmap","html_url":"https://github.com/dmiller-nmap","followers_url":"https://api.github.com/users/dmiller-nmap/followers","following_url":"https://api.github.com/users/dmiller-nmap/following{/other_user}","gists_url":"https://api.github.com/users/dmiller-nmap/gists{/gist_id}","starred_url":"https://api.github.com/users/dmiller-nmap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmiller-nmap/subscriptions","organizations_url":"https://api.github.com/users/dmiller-nmap/orgs","repos_url":"https://api.github.com/users/dmiller-nmap/repos","events_url":"https://api.github.com/users/dmiller-nmap/events{/privacy}","received_events_url":"https://api.github.com/users/dmiller-nmap/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T16:46:19Z","updated_at":"2015-11-20T16:46:19Z","body":"This shouldn't be tough to implement, but the generally accepted way to do it is to redirect output to /dev/null or similar. That's all that we'd be doing internally, reopening `o.nmap_stdout` to `DEVNULL` like in `log_open` in `output.cc`. Also, we might not be able to use the short option `-q` because that previously was the \"quash argv\" option."}}