{"action":"closed","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7354","repository_url":"https://api.github.com/repos/rapid7/metasploit-framework","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7354/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7354/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7354/events","html_url":"https://github.com/rapid7/metasploit-framework/issues/7354","id":178750708,"number":7354,"title":"OptEnum wiki example wrong","user":{"login":"h00die","id":752491,"avatar_url":"https://avatars.githubusercontent.com/u/752491?v=3","gravatar_id":"","url":"https://api.github.com/users/h00die","html_url":"https://github.com/h00die","followers_url":"https://api.github.com/users/h00die/followers","following_url":"https://api.github.com/users/h00die/following{/other_user}","gists_url":"https://api.github.com/users/h00die/gists{/gist_id}","starred_url":"https://api.github.com/users/h00die/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h00die/subscriptions","organizations_url":"https://api.github.com/users/h00die/orgs","repos_url":"https://api.github.com/users/h00die/repos","events_url":"https://api.github.com/users/h00die/events{/privacy}","received_events_url":"https://api.github.com/users/h00die/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-23T00:00:16Z","updated_at":"2016-09-23T00:14:44Z","closed_at":"2016-09-23T00:14:44Z","body":"https://github.com/rapid7/metasploit-framework/wiki/How-to-use-datastore-options\r\nThe example shows:\r\n`OptEnum.new('FRUIT', [ true, 'Set a fruit', ['apple', 'orange'], 'apple' ])`\r\nhowever, the array and the default value are mixed up in order, it should be:\r\n`OptEnum.new('FRUIT', [ true, 'Set a fruit', 'apple', ['apple', 'orange']])`\r\n\r\nAs can be seen on: https://github.com/rapid7/metasploit-framework/blob/adb275520b9552d6760eae50d0cd8074976d215b/modules/post/windows/manage/driver_loader.rb#L51"}}
{"actor":{"display_login":"bcook-r7"}}