{"action":"created","issue":{"url":"https://api.github.com/repos/mbornet-hl/hl/issues/1","labels_url":"https://api.github.com/repos/mbornet-hl/hl/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mbornet-hl/hl/issues/1/comments","events_url":"https://api.github.com/repos/mbornet-hl/hl/issues/1/events","html_url":"https://github.com/mbornet-hl/hl/issues/1","id":110791298,"number":1,"title":"parameter order","user":{"login":"johanneshoetzer","id":15057372,"avatar_url":"https://avatars.githubusercontent.com/u/15057372?v=3","gravatar_id":"","url":"https://api.github.com/users/johanneshoetzer","html_url":"https://github.com/johanneshoetzer","followers_url":"https://api.github.com/users/johanneshoetzer/followers","following_url":"https://api.github.com/users/johanneshoetzer/following{/other_user}","gists_url":"https://api.github.com/users/johanneshoetzer/gists{/gist_id}","starred_url":"https://api.github.com/users/johanneshoetzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanneshoetzer/subscriptions","organizations_url":"https://api.github.com/users/johanneshoetzer/orgs","repos_url":"https://api.github.com/users/johanneshoetzer/repos","events_url":"https://api.github.com/users/johanneshoetzer/events{/privacy}","received_events_url":"https://api.github.com/users/johanneshoetzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-10T12:09:35Z","updated_at":"2015-10-11T18:38:41Z","closed_at":null,"body":"Hello,\r\n\r\ni really like your hl tool, but the parameter seams to be given in a definded order: e.g. works\r\nls | ./hl -2 -b   Make\r\ncr_cpri.h\r\ncr_epri.h\r\n...\r\n\r\nbut switching b and 2 does not work.\r\n\r\nls | ./hl  -b -2   ak\r\n./hl: missing argument for \"-b\" !\r\nARGS :\r\n    opts      = \"hHuVvEr:g:y:b:m:c:w:R:G:Y:B:M:C:W:n:DLdei1234%.:\"\r\n    optarg    = \"(null)\"\r\n    curr_ptrs = 0x21f1040\r\nPTRS :\r\n     curr_arg  = \"-b\"\r\n     curr_idx  = 2\r\n     next_arg  = \"(null)\"\r\n     prev      = (nil)\r\n     config    = (nil)\r\n\r\nI would also suggest to add a default color so hl directly works without parameters.\r\n\r\nbest regards, Johannes\r\n"},"comment":{"url":"https://api.github.com/repos/mbornet-hl/hl/issues/comments/147233993","html_url":"https://github.com/mbornet-hl/hl/issues/1#issuecomment-147233993","issue_url":"https://api.github.com/repos/mbornet-hl/hl/issues/1","id":147233993,"user":{"login":"mbornet-hl","id":11536173,"avatar_url":"https://avatars.githubusercontent.com/u/11536173?v=3","gravatar_id":"","url":"https://api.github.com/users/mbornet-hl","html_url":"https://github.com/mbornet-hl","followers_url":"https://api.github.com/users/mbornet-hl/followers","following_url":"https://api.github.com/users/mbornet-hl/following{/other_user}","gists_url":"https://api.github.com/users/mbornet-hl/gists{/gist_id}","starred_url":"https://api.github.com/users/mbornet-hl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbornet-hl/subscriptions","organizations_url":"https://api.github.com/users/mbornet-hl/orgs","repos_url":"https://api.github.com/users/mbornet-hl/repos","events_url":"https://api.github.com/users/mbornet-hl/events{/privacy}","received_events_url":"https://api.github.com/users/mbornet-hl/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T18:38:41Z","updated_at":"2015-10-11T18:38:41Z","body":"Hello Johannes,\n\nI've just pushed version 1.63 of hl which has a light syntax and handles\nthe default color in the environment variable HL_DEFAULT.\nThe man page hl(1) has been updated with this new syntax.\nIs that what you wanted ?\n\nBest regards,\n\nMartial Bornet\n\ntel  : 06 13 33 52 77\nsite : http://www.bornet.fr/\n\nOn 10/11/15 18:57, johanneshoetzer wrote:\n>\n> thx, thats perfect.\n> hope you will contiune that great tool!\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/mbornet-hl/hl/issues/1#issuecomment-147221053>.\n>\n\n"}}