{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/400","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/400/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/400/events","html_url":"https://github.com/mesonbuild/meson/issues/400","id":134981533,"number":400,"title":"mesonconf: default to cwd","user":{"login":"rhd","id":3422847,"avatar_url":"https://avatars.githubusercontent.com/u/3422847?v=3","gravatar_id":"","url":"https://api.github.com/users/rhd","html_url":"https://github.com/rhd","followers_url":"https://api.github.com/users/rhd/followers","following_url":"https://api.github.com/users/rhd/following{/other_user}","gists_url":"https://api.github.com/users/rhd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhd/subscriptions","organizations_url":"https://api.github.com/users/rhd/orgs","repos_url":"https://api.github.com/users/rhd/repos","events_url":"https://api.github.com/users/rhd/events{/privacy}","received_events_url":"https://api.github.com/users/rhd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-19T21:40:03Z","updated_at":"2016-02-19T21:59:17Z","closed_at":null,"body":"Hi Jussi,\r\n\r\nmesonconf doesn't print out anything when run without any args... it's confusing. Here is a quick fix that seems to do the thing that I would expect.\r\n\r\n```diff\r\ndiff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py\r\nindex f174425..a3e2e7e 100644\r\n--- a/mesonbuild/mconf.py\r\n+++ b/mesonbuild/mconf.py\r\n@@ -182,7 +182,7 @@ class Conf:\r\n def run(args):\r\n     args = mesonlib.expand_arguments(args)\r\n     if not args:\r\n-        sys.exit(1)\r\n+        args.append(os.getcwd())\r\n     options = parser.parse_args(args)\r\n     if len(options.directory) > 1:\r\n         print('%s <build directory>' % args[0])\r\n```"},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/186427049","html_url":"https://github.com/mesonbuild/meson/issues/400#issuecomment-186427049","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/400","id":186427049,"user":{"login":"rhd","id":3422847,"avatar_url":"https://avatars.githubusercontent.com/u/3422847?v=3","gravatar_id":"","url":"https://api.github.com/users/rhd","html_url":"https://github.com/rhd","followers_url":"https://api.github.com/users/rhd/followers","following_url":"https://api.github.com/users/rhd/following{/other_user}","gists_url":"https://api.github.com/users/rhd/gists{/gist_id}","starred_url":"https://api.github.com/users/rhd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhd/subscriptions","organizations_url":"https://api.github.com/users/rhd/orgs","repos_url":"https://api.github.com/users/rhd/repos","events_url":"https://api.github.com/users/rhd/events{/privacy}","received_events_url":"https://api.github.com/users/rhd/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T21:59:17Z","updated_at":"2016-02-19T21:59:17Z","body":"`mesonconf` not `meson`. "}}