{"action":"created","issue":{"url":"https://api.github.com/repos/six8/python-clom/issues/13","repository_url":"https://api.github.com/repos/six8/python-clom","labels_url":"https://api.github.com/repos/six8/python-clom/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/six8/python-clom/issues/13/comments","events_url":"https://api.github.com/repos/six8/python-clom/issues/13/events","html_url":"https://github.com/six8/python-clom/issues/13","id":55939028,"number":13,"title":"change `--long-opts` to use = when given a value?","user":{"login":"bukzor","id":640328,"avatar_url":"https://avatars.githubusercontent.com/u/640328?v=3","gravatar_id":"","url":"https://api.github.com/users/bukzor","html_url":"https://github.com/bukzor","followers_url":"https://api.github.com/users/bukzor/followers","following_url":"https://api.github.com/users/bukzor/following{/other_user}","gists_url":"https://api.github.com/users/bukzor/gists{/gist_id}","starred_url":"https://api.github.com/users/bukzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bukzor/subscriptions","organizations_url":"https://api.github.com/users/bukzor/orgs","repos_url":"https://api.github.com/users/bukzor/repos","events_url":"https://api.github.com/users/bukzor/events{/privacy}","received_events_url":"https://api.github.com/users/bukzor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-29T18:42:10Z","updated_at":"2016-03-04T18:22:43Z","closed_at":null,"body":"Some commands won't parse `--long-opt val` as a long option with a value.\r\nI'd like to change this to use an = sign.\r\n\r\nOf course this could be made configurable, but that makes things more complex.\r\nI don't think the opposite problem happens; I don't believe there's any command that prefers the no-equal-sign syntax."},"comment":{"url":"https://api.github.com/repos/six8/python-clom/issues/comments/192394001","html_url":"https://github.com/six8/python-clom/issues/13#issuecomment-192394001","issue_url":"https://api.github.com/repos/six8/python-clom/issues/13","id":192394001,"user":{"login":"six8","id":361145,"avatar_url":"https://avatars.githubusercontent.com/u/361145?v=3","gravatar_id":"","url":"https://api.github.com/users/six8","html_url":"https://github.com/six8","followers_url":"https://api.github.com/users/six8/followers","following_url":"https://api.github.com/users/six8/following{/other_user}","gists_url":"https://api.github.com/users/six8/gists{/gist_id}","starred_url":"https://api.github.com/users/six8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/six8/subscriptions","organizations_url":"https://api.github.com/users/six8/orgs","repos_url":"https://api.github.com/users/six8/repos","events_url":"https://api.github.com/users/six8/events{/privacy}","received_events_url":"https://api.github.com/users/six8/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T18:22:42Z","updated_at":"2016-03-04T18:22:42Z","body":"You could also forget the namespace. Ex:\r\n\r\n```\r\n>>> from clom import clom\r\n>>> clom.git.log.with_opts('-l', stat=22)\r\n'git log -l --stat 22'\r\n>>> clom.git.log.with_optx('-l', stat=22)\r\n'git log with_optx --stat 22 -l'\r\n```\r\n\r\nIf we said \"with_*\" is a namespace, we could error. However if you typo'd \"with\" you'd still end up with it doing the wrong thing."}}