{"action":"created","issue":{"url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus/issues/47","repository_url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus","labels_url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus/issues/47/comments","events_url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus/issues/47/events","html_url":"https://github.com/BunsenLabs/bunsen-pipemenus/issues/47","id":166270415,"number":47,"title":"bl-compositor: needs to deal with '-h/--help' parameters","user":{"login":"capn-damo","id":11060704,"avatar_url":"https://avatars.githubusercontent.com/u/11060704?v=3","gravatar_id":"","url":"https://api.github.com/users/capn-damo","html_url":"https://github.com/capn-damo","followers_url":"https://api.github.com/users/capn-damo/followers","following_url":"https://api.github.com/users/capn-damo/following{/other_user}","gists_url":"https://api.github.com/users/capn-damo/gists{/gist_id}","starred_url":"https://api.github.com/users/capn-damo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/capn-damo/subscriptions","organizations_url":"https://api.github.com/users/capn-damo/orgs","repos_url":"https://api.github.com/users/capn-damo/repos","events_url":"https://api.github.com/users/capn-damo/events{/privacy}","received_events_url":"https://api.github.com/users/capn-damo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-19T08:01:01Z","updated_at":"2016-07-31T03:29:23Z","closed_at":null,"body":"We need a test for these commandline parameters, which may be a common action. ATM they cause the openbox menu to be output.\r\n\r\nI suggest that it should display a link to the config file, `$HOME/.config/compton.conf`."},"comment":{"url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus/issues/comments/236406735","html_url":"https://github.com/BunsenLabs/bunsen-pipemenus/issues/47#issuecomment-236406735","issue_url":"https://api.github.com/repos/BunsenLabs/bunsen-pipemenus/issues/47","id":236406735,"user":{"login":"johnraff","id":1924845,"avatar_url":"https://avatars.githubusercontent.com/u/1924845?v=3","gravatar_id":"","url":"https://api.github.com/users/johnraff","html_url":"https://github.com/johnraff","followers_url":"https://api.github.com/users/johnraff/followers","following_url":"https://api.github.com/users/johnraff/following{/other_user}","gists_url":"https://api.github.com/users/johnraff/gists{/gist_id}","starred_url":"https://api.github.com/users/johnraff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnraff/subscriptions","organizations_url":"https://api.github.com/users/johnraff/orgs","repos_url":"https://api.github.com/users/johnraff/repos","events_url":"https://api.github.com/users/johnraff/events{/privacy}","received_events_url":"https://api.github.com/users/johnraff/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T03:29:23Z","updated_at":"2016-07-31T03:29:23Z","body":"> The point about getopt(1) limitations is not true; it supports squashed options just fine\r\n\r\nIndeed, tested and confirmed - at least with the version of getopt that we have in Debian Jessie.\r\n\r\n```\r\nbl_parse_opts 'h:help::Prints a summary of supported options'\r\nbl_parse_opts 'c:config:FILE:Path to the configuration file'\r\n```\r\nSo, this envisages passing all the options to bl_parse_opts as a series of single-quoted words? Like:\r\n```\r\nbl_parse_opts 'h:help::Prints a summary of supported options' 'c:config:FILE:Path to the configuration file'\r\n```\r\nPerhaps putting the option configurations in an array might be more robust? Like:\r\n```\r\nbl_opts_array=(h:help::Prints a summary of supported options)\r\nbl_opts_array+=(c:config:FILE:Path to the configuration file)\r\n```\r\n> I can draft an implementation tonight. Would make a neat project.\r\n\r\nAny progress here?"}}
{"actor":{"display_login":"johnraff"}}