{"action":"created","issue":{"url":"https://api.github.com/repos/systemd/systemd/issues/1621","repository_url":"https://api.github.com/repos/systemd/systemd","labels_url":"https://api.github.com/repos/systemd/systemd/issues/1621/labels{/name}","comments_url":"https://api.github.com/repos/systemd/systemd/issues/1621/comments","events_url":"https://api.github.com/repos/systemd/systemd/issues/1621/events","html_url":"https://github.com/systemd/systemd/issues/1621","id":112376315,"number":1621,"title":"journalctl: make \"--user --unit\" works as \"--user-unit\"","user":{"login":"tomty89","id":8604057,"avatar_url":"https://avatars.githubusercontent.com/u/8604057?v=3","gravatar_id":"","url":"https://api.github.com/users/tomty89","html_url":"https://github.com/tomty89","followers_url":"https://api.github.com/users/tomty89/followers","following_url":"https://api.github.com/users/tomty89/following{/other_user}","gists_url":"https://api.github.com/users/tomty89/gists{/gist_id}","starred_url":"https://api.github.com/users/tomty89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomty89/subscriptions","organizations_url":"https://api.github.com/users/tomty89/orgs","repos_url":"https://api.github.com/users/tomty89/repos","events_url":"https://api.github.com/users/tomty89/events{/privacy}","received_events_url":"https://api.github.com/users/tomty89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/systemd/systemd/labels/has-pr","name":"has-pr","color":"009800"},{"url":"https://api.github.com/repos/systemd/systemd/labels/journal","name":"journal","color":"d4c5f9"},{"url":"https://api.github.com/repos/systemd/systemd/labels/RFE","name":"RFE","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-20T14:05:17Z","updated_at":"2016-06-23T13:53:20Z","closed_at":"2016-04-25T19:57:39Z","body":"Currently if I run `journalctl --user --unit $SOME_UNIT` I will just get \"No entries\". Although there is the \"--user-unit\" option, it seems a bit dumb to me that \"--user --unit\" doesn't do the same thing. Would it be possible/nice to add a switch or something to \"--unit\" so that when \"--user\" is used, it matches \"_SYSTEMD_USER_UNIT=\" and \"_UID=\" instead of \"_SYSTEMD_UNIT=UNIT\"?"},"comment":{"url":"https://api.github.com/repos/systemd/systemd/issues/comments/228056941","html_url":"https://github.com/systemd/systemd/issues/1621#issuecomment-228056941","issue_url":"https://api.github.com/repos/systemd/systemd/issues/1621","id":228056941,"user":{"login":"markstos","id":25829,"avatar_url":"https://avatars.githubusercontent.com/u/25829?v=3","gravatar_id":"","url":"https://api.github.com/users/markstos","html_url":"https://github.com/markstos","followers_url":"https://api.github.com/users/markstos/followers","following_url":"https://api.github.com/users/markstos/following{/other_user}","gists_url":"https://api.github.com/users/markstos/gists{/gist_id}","starred_url":"https://api.github.com/users/markstos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstos/subscriptions","organizations_url":"https://api.github.com/users/markstos/orgs","repos_url":"https://api.github.com/users/markstos/repos","events_url":"https://api.github.com/users/markstos/events{/privacy}","received_events_url":"https://api.github.com/users/markstos/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T13:53:20Z","updated_at":"2016-06-23T13:53:20Z","body":"Thanks for this fix! I'm using 229 and only today discovered that --user --unit did not mean --user-unit like I thought. I look forward now to v230. "}}
{"actor":{"display_login":"markstos"}}