{"action":"created","issue":{"url":"https://api.github.com/repos/haskell/cabal/issues/1409","labels_url":"https://api.github.com/repos/haskell/cabal/issues/1409/labels{/name}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/1409/comments","events_url":"https://api.github.com/repos/haskell/cabal/issues/1409/events","html_url":"https://github.com/haskell/cabal/issues/1409","id":17619683,"number":1409,"title":"\"--internal\" flag for cabal haddock doesn't do anything","user":{"login":"BruceBerry","id":4268706,"avatar_url":"https://avatars.githubusercontent.com/u/4268706?v=3","gravatar_id":"","url":"https://api.github.com/users/BruceBerry","html_url":"https://github.com/BruceBerry","followers_url":"https://api.github.com/users/BruceBerry/followers","following_url":"https://api.github.com/users/BruceBerry/following{/other_user}","gists_url":"https://api.github.com/users/BruceBerry/gists{/gist_id}","starred_url":"https://api.github.com/users/BruceBerry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BruceBerry/subscriptions","organizations_url":"https://api.github.com/users/BruceBerry/orgs","repos_url":"https://api.github.com/users/BruceBerry/repos","events_url":"https://api.github.com/users/BruceBerry/events{/privacy}","received_events_url":"https://api.github.com/users/BruceBerry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/haskell/cabal/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/haskell/cabal/labels/library","name":"library","color":"AECF38"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-08-05T05:28:28Z","updated_at":"2015-04-23T23:06:44Z","closed_at":"2015-04-23T23:06:44Z","body":"I've read it's supposed to pass \"--ignore-exports\" to haddock. However, there is no such flag in haddock anymore. There is \"--ignore-all-exports\" though. Passing \"--haddock-options=\"--ignore-all-exports\" to cabal haddock has the desired effect.\r\nInstead, \"--internal\" does not add any extra flag to haddock (at least when it's used with --executables, which is my case) and is silently ignored. Unknown flags normally throw an error. This should either pass \"--ignore-all-exports\" or throw an error if you don't want to maintain the feature."},"comment":{"url":"https://api.github.com/repos/haskell/cabal/issues/comments/95742856","html_url":"https://github.com/haskell/cabal/issues/1409#issuecomment-95742856","issue_url":"https://api.github.com/repos/haskell/cabal/issues/1409","id":95742856,"user":{"login":"ttuegel","id":563054,"avatar_url":"https://avatars.githubusercontent.com/u/563054?v=3","gravatar_id":"","url":"https://api.github.com/users/ttuegel","html_url":"https://github.com/ttuegel","followers_url":"https://api.github.com/users/ttuegel/followers","following_url":"https://api.github.com/users/ttuegel/following{/other_user}","gists_url":"https://api.github.com/users/ttuegel/gists{/gist_id}","starred_url":"https://api.github.com/users/ttuegel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttuegel/subscriptions","organizations_url":"https://api.github.com/users/ttuegel/orgs","repos_url":"https://api.github.com/users/ttuegel/repos","events_url":"https://api.github.com/users/ttuegel/events{/privacy}","received_events_url":"https://api.github.com/users/ttuegel/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T23:06:44Z","updated_at":"2015-04-23T23:06:44Z","body":"This is fixed for some time already."}}